r - RNetlogo and NetLogo 5.3 error -


i have been using rnetlogo netlogo 5.2.1 without troubles. using netlogo 5.3 , error:

> library(rnetlogo) > nl.path <- "/applications/netlogo 5.3/" > nlstart(nl.path, gui = false) java.lang.noclassdeffounderror: org/nlogo/workspace/controllable     @ java.lang.class.forname0(native method)     @ java.lang.class.forname(class.java:348) caused by: java.lang.classnotfoundexception     @ rjavaclassloader.findclass(rjavaclassloader.java:383)     @ java.lang.classloader.loadclass(classloader.java:424)     @ java.lang.classloader.loadclass(classloader.java:357)     ... 2 more  > sessioninfo() r version 3.2.2 (2015-08-14) platform: x86_64-apple-darwin13.4.0 (64-bit) running under: os x 10.11.2 (el capitan)  locale: [1] en_us.utf-8/en_us.utf-8/en_us.utf-8/c/en_us.utf-8/en_us.utf-8  attached base packages: [1] stats     graphics  grdevices utils     datasets  methods   base       other attached packages: [1] rnetlogo_1.0-1 igraph_1.0.1   rjava_0.9-8     loaded via namespace (and not attached): [1] magrittr_1.5 

any ideas problem be?

change line nl.path <- "/applications/netlogo 5.3/" nl.path <- "/applications/netlogo 5.3/app" netlogo has changed directory structure; netlogo jar file in 'app' subdirectory.

you may need check environment variables set part of rnetlogo installation.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -