Hi Paul,
I am sorry to say that RNetLogo is – in contrast to the R-Extension – no longer maintained. I suggest you try the package “nlrx”: https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.13286.
Cheers,
Volker
--
You received this message because you are subscribed to the Google Groups "netlogo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-users/4edfb48c-aa0c-44d5-97e6-ba192c538889n%40googlegroups.com.
Hi Paul,
We are sorry you have encountered this issue.
As noted by Volker, Rnetlogo is not currently being maintained.
If you want to try out the R extension, it can be set up to work on Windows 10 environments. Detailed instructions follow.
Based on what you have written, you have probably completed most of these steps.
The key steps once everything is downloaded and updated are:
These steps have bold headers below
Here are the full instructions for installing R and configuring it with the extension.
Pay particular attention to the Windows-specific installation steps
Here are the specific steps I took get the R extension running on Windows 10.
Install R and R packages
I downloaded R 4.0.4 for Windows and ran the installer with default options plus installing a desktop icon.
I opened R by double clicking the desktop icon.
I typed
install.packages("rJava")
For installation of the packages I accepted the default local location, and chose a mirror site for downloading
Next
install.packages("JavaGD") # Optional
install.packages("CommonJavaJars") # Optional
Collect system information
I collected the necessary system information
R.home(component = "home")
[1] "C:/PROGRA~1/R/R-40~1.4"
system.file("jri", package = "rJava")
[1] "C:/Users/MyName/Documents/R/win-library/4.0/rJava/jri"
Install the Microsoft Visual C++ 2013 if you don’t have it
I tried the Microsoft Visual C++ 2013 redistributable download
And chose the installer vcredist_x64.exe
I double clicked on the installer. Because Microsoft Visual C++ 2013 had been previously installed, the Installer options were “modify setup” and “repair.”
I therefore quit the installer, but you should proceed if it offers to install the software.
Edit the user.properties file
Note: I have substituted “MyName” for my actual username throughout this email, and you should substitute in your username when making the changes.
The one discrepancy I ran into is that there was no file C:\Users\MyName\AppData\Roaming\NetLogo\6.2\r\user.properties
The directory existed but was empty.
You can download the user.properties file I have attached to the folder C:\Users\MyName\AppData\Roaming\NetLogo\6.2\r
You should then edit the following lines to reflect your name and R installation. (You might be able to edit directly in NotePad because I already did the step of opening and saving with WordPad.)
r.home=C:/PROGRA~1/R/R-40~1.4
jri.home.paths=C:/Users/MyName/Documents/R/win-library/4.0/rJava/jri
r.lib.paths=C:/Users/MyName/Documents/R/win-library/4.0
Edit the System Environment Variable “Path”
After that you need to edit your system environment variable Path
Use the New button to add the line (adapted if necessary)
C:\Program Files\R\R-4.0.4\bin\x64\
You will need to log in and out of Windows, or do a restart for the environment variable change to take effect.
Please note that NetLogo extensions are usable “out of the box.” The R extension requires an atypical number of configuration steps.
Please let us know if this leads to success, or if you need more help write us and include details of steps that have not worked, and error messages you have seen.
Aaron
--
Aaron Brandes, Software Developer
Center for Connected Learning and Computer-Based Modeling
--
You received this message because you are subscribed to the Google Groups "netlogo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
netlogo-user...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/netlogo-users/9bae9ad3-32f8-44e7-ac59-52e627689f8en%40googlegroups.com.