Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use R inside NetLogo #56

Open
EmbraceLife opened this issue Sep 25, 2018 · 1 comment
Open

How to use R inside NetLogo #56

EmbraceLife opened this issue Sep 25, 2018 · 1 comment

Comments

@EmbraceLife
Copy link
Owner

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
Copy link
Owner Author

@EmbraceLife EmbraceLife changed the title How to get rJava installed without error How to use R inside NetLogo Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant