Closed ereineke closed 2 years ago
I installed NetLogo under ~/netlogofolder and set nlpath = "~/netlogofolder"
~/netlogofolder
nlpath = "~/netlogofolder"
Trying to run nlrx::run_nl_all(nl) I got the following error message: cp: cannot stat '~/netlogofolder/netlogo-headless.sh': No such file or directory
nlrx::run_nl_all(nl)
cp: cannot stat '~/netlogofolder/netlogo-headless.sh': No such file or directory
Fix: Set nlpath = "/home/username/netlogofolder" It's not possible to indicate your home directory using ~. The same applies to modelpath.
nlpath = "/home/username/netlogofolder"
~
modelpath
[Using Ubuntu 20.04.4]
Closed, Fix already provided. Additionally, a fix will be implemented with https://github.com/ropensci/nlrx/pull/72 to expand tilde automatically on creation of the nl class object
I installed NetLogo under
~/netlogofolder
and setnlpath = "~/netlogofolder"
Trying to run
nlrx::run_nl_all(nl)
I got the following error message:cp: cannot stat '~/netlogofolder/netlogo-headless.sh': No such file or directory
Fix: Set
nlpath = "/home/username/netlogofolder"
It's not possible to indicate your home directory using~
. The same applies tomodelpath
.[Using Ubuntu 20.04.4]