I saved my NetLogo model under ~/model.nlogo and set modelpath = "~/model.nlogo".
Trying to run nlrx::run_nl_all(nl) I got the following error message:
Exception in thread "main" java.lang.Exception: Unable to open model with current format: /home/username/~/model.nlogo
Fix: Set modelpath = "/home/username/model.nlogo" (or use relative paths).
It's not possible to indicate your home directory using ~.
The same applies to nlpath.
I saved my NetLogo model under
~/model.nlogo
and setmodelpath = "~/model.nlogo"
.Trying to run
nlrx::run_nl_all(nl)
I got the following error message:Exception in thread "main" java.lang.Exception: Unable to open model with current format: /home/username/~/model.nlogo
Fix: Set
modelpath = "/home/username/model.nlogo"
(or use relative paths). It's not possible to indicate your home directory using~
. The same applies tonlpath
.[Using Ubuntu 20.04.4]