Closed gaianoseworthy closed 4 years ago
The first error message you receive is the real problem here:
"cp: cannot stat '~/.netlogo/NetLogo 6.1.1/netlogo-headless.sh': No such file or directory
This says, that the netlogo-hedless.sh file was not found at the specified location and could thus not be copied. So this is not a problem related to the temporary folder even though the suggestion pops up. There are several things I would like you to check:
nlversion
) as the one you use for your nlpath
(currently, in your example above you have two different versions: 6.1.1 vs 6.0.3)print(nl)
. This will show you a summary of the content and a checklist at the end of the report. In this checklist you will find the item nlpath exists on local system:
and modelpath exists on local system:
- both should be signed with a checkmark ✓If you checked these points and everything looks fine and you still encounter problems, please do not hesitate to write again. We can then see what else we can do to identify the problem. Cheers, nldoc
@nldoc Okay I think I managed to get it fixed. For some unknown reason, it seems I need to run nlrx in R with root privileges, or else it isn't allowed to copy "netlogo-headless.sh" to the temp directory (which is what I think it was doing). This seems odd, since it was fully able to create files in both directories, download new source code, and do pretty much anything else.
Either way, I also ran into the JAVA_HOME problem, though the fix from the issue presented before (https://github.com/ropensci/nlrx/issues/32) worked perfectly as well.
Seeing that all seems to be in order, if I finish this test run without issue, I will close this issue!
See end for version numbers of everything and the input code.
I am attempting to set up an initial demo experiment (the one provided in the documentation), and am running into the following error when attempting to get the result:
Given that I am running R 4.0.0, I cannot us Unixtools to fix the temp path. For note, if I copy-paste the path for netlogo-headless.sh into my file manager, it works perfectly. I have attempted this with NetLogo 6.0.4, 6.1.1, and 5.3.1, and none of them seem to work. Is there anything recommended that I can do?
Input Code:
OS: DISTRIB_ID=ManjaroLinux DISTRIB_RELEASE=20.0 DISTRIB_CODENAME=Lysia DISTRIB_DESCRIPTION="Manjaro Linux"
R Version: platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 0.0
year 2020
month 04
day 24
svn rev 78286
language R
version.string R version 4.0.0 (2020-04-24) nickname Arbor Day