shendusuipian icon indicating copy to clipboard operation
shendusuipian copied to clipboard

How to use R inside NetLogo

Open EmbraceLife opened this issue 6 years ago • 1 comments

Here is the solution

Following is the error look like

install.packages("rJava")
library(rJava)
## then I got the following error message
## Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so': dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so, 6): Library not loaded: /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/lib/server/libjvm.dylib Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rJava/libs/rJava.so Reason: image not found

EmbraceLife avatar Sep 25 '18 12:09 EmbraceLife

How to use R in NetLogo? how to install R extension how to configure R extension the tweak to note video a solution issue

EmbraceLife avatar Sep 27 '18 03:09 EmbraceLife