LorenzoLearningCurve
LorenzoLearningCurve

Reputation: 71

Netlogo R Extension: user.properties file missing

I am trying to use the R extension in Netlogo 6.2.

I just cannot find the user.properties file anywhere.

I have Windows 7. According to instructions:

Now: I am getting Error 01 for lack of configuration of the user-properties file.

("LALC" is my username). So I am looking for the user.properties file into C:\Users\LALC\AppData\Roaming\NetLogo\6.2\r and there is nothing in there!

Where is the user.properties file?

There is also nothing in the extensions folder.

I don't understand if I should create the user.properties file myself, and if yes, what should I write in it?

(FYI I am running Windows 7 on a Mac, using Bootcamp, but I don't think this should be an issue, correct?)

Upvotes: 1

Views: 206

Answers (1)

LorenzoLearningCurve
LorenzoLearningCurve

Reputation: 71

I believe I solved the problem.

As discussed, after all the installation steps, the user.properties file was missing in

C:\Users\username\AppData\Roaming\NetLogo\6.2\r

I found it in a completely different folder which is

C:\Program Files\NetLogo 6.2.0\app\extensions.bundled\r

I copied it from there and pasted it in

C:\Users\username\AppData\Roaming\NetLogo\6.2\r

This is not mentioned at all in the Netlogo instructions document at https://ccl.northwestern.edu/netlogo/docs/r.html and I think it should be clarified.

Anyway, now with the user.properties file in the correct location, after editing it with the correct location paths for r.home and jri.home in the Windows section (asking for those paths in R, as per instructions), and of course uncommenting those lines, I finally open the Netlogo file with the "extensions [ r ]" line at the beginning ... and I get no more error notifications.

Upvotes: 2

Related Questions