R extension doesn't see libraries
lminer
New Altair Community Member
I've gotten the R extension to run, but I can't run any of my scripts because it doesn't see any of my libraries. For example I get this error:
Error in library(plyr) : there is no package called 'plyr'
Also it seems to be running the 32-bit version as I get a memory error as well: Reached total allocation of 2047Mb: see help(memory.size)
My paths are as follows:
PATH: C:\Program Files\R\R-3.0.2\bin\x64\;C:\Program Files\R\R-3.0.2\library\;C:\Users\lminer\Documents\R\win-library\3.0\
JAVA_HOME: C:\Program Files\Java\jre7
R_HOME: C:\Program Files\R\R-3.0.2
Any ideas as to what is going wrong?
Error in library(plyr) : there is no package called 'plyr'
Also it seems to be running the 32-bit version as I get a memory error as well: Reached total allocation of 2047Mb: see help(memory.size)
My paths are as follows:
PATH: C:\Program Files\R\R-3.0.2\bin\x64\;C:\Program Files\R\R-3.0.2\library\;C:\Users\lminer\Documents\R\win-library\3.0\
JAVA_HOME: C:\Program Files\Java\jre7
R_HOME: C:\Program Files\R\R-3.0.2
Any ideas as to what is going wrong?
Tagged:
0
Answers
-
Have you also installed a 64 bit version of Java?
RapidMiner 64bit seems to run on Java 32 bit but the R extension won't run properly unless all 3 components R, RapidMiner and Java are all 64 bit or all 32 bit.
I have both 32bit and 64 bit Java running and it seems to work OK.0 -
Yeah it's set to Java 64. I do have the JDK installed as well, do I need to set it to that instead?0
-
No, the JRI should be fine. Are you using the 64 bit version of rJava's jri.dll?
Best regards,
Marius0