Trying to load R library from Įngine class: class Method) But when I set the R_LIBS_USER = C:/Users/user1/Documents/R/win-library/3.0 the console produces the errors cited in my previous post and the Weka GUI choser window never appears.īelow are error messages with R_LIBS_USER not /cygdrive/c/Program Files/Weka-3-7 $ java -Xmx1000M -jar /cygdrive/c/Program Files/Weka-3-7 In case this helps: before I set the R_LIBS_USER (or if I delete it now) Weka was loading, however producing lots of errors in the console (please see below). The R_HOME is set and points to C:\Program Files\R\R-3.0.2, as it should. I would highly appreciate any help or suggestion.ĭear Mark, thank you for the prompt reply. PATH = %SystemRoot%\system32 %SystemRoot% %SystemRoot%\System32\Wbem %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ C:\Program Files\R\R-3.0.2\bin C:\Program Files\Calibre2\ R_LIBS_USER = C:/Users/user1/Documents/R/win-library/3.0 run(Rengine.java:635)Īt .rniSetupR(Native Method)Īt .setupR(Rengine.java:170)Īt .run(Rengine.java:635) Trying to loaded R library from C:\Users\user1\Documents\R\win-library\3.0\rJava \jri\i386\jri.dllĮngine class: class ClassLoader:$ExtClas to load R library from C:\Users\user1\Documents\R\win-library\3.0\rJava\j ri\i386\jri.dll: C:\Users\user1\Documents\R\win-library\3.0\rJava\jri\i386\jri.d ll: Can't find dependent librariesĮxception in thread "Thread-3" : ngine.rniSetupR([Ljava/lang/String I Trying R_LIBS_USER (C:/Users/user1/Documents/R/win-library/3.0)įound rJava installed in C:\Users\user1\Documents\R\win-library\3.0\rJava Injecting JRI classes into the root class loader. None of the paths I've mentioned earlier have worked (I still get an error when loading the rJava library into R) and I can't find a specific jre folder or file to set the path to.I am getting the following errors when trying to run Weka 3.7.10 under Windows7 with R.3.0.2: I am trying to find the jre path to be set in JAVA_HOME in order to be able to use open rJava in R. I have the latest version of Java installed both in 32 and 64 bit. I don't know if I should change it to get it to work but I don't want to mess with something I don't understand. "C:\\Program Files\\R\\R-3.3.0\\bin\\圆4 C:\\ProgramData\\Oracle\\Java\\javapath C:\\WINDOWS\\system32 C:\\WINDOWS C:\\WINDOWS\\System32\\Wbem C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\ C:\\Program Files\\WIDCOMM\\Bluetooth Software\\ C:\\Program Files\\WIDCOMM\\Bluetooth Software\\syswow64 C:\\Program Files (x86)\\Common Files\\Roxio Shared\\DLLShared\\ C:\\Program Files (x86)\\Common Files\\Roxio Shared\\10.0\\DLLShared\\ C:\\Program Files (x86)\\Skype\\Phone\\ C:\\Program Files (x86)\\Calibre2\\ C:\\Program Files\\Git\\cmd C:\\Users\\dell_x\\AppData\\Local\\Microsoft\\WindowsApps " This is what I get when I query the PATH:
#Library rjava error 32 bit#
Sys.setenv(JAVA_HOME='C:\\Program Files\\Java\\jre1.8.0_121\\bin\\server')īefore I was using the 32 bit version of java and I also tried setting it to the 32 bit version (Program Files(x86)). Sys.setenv(JAVA_HOME='C:\\Program Files\\Java') I have tried setting JAVA_HOME to the jre directory by doing all of these: When loading rJava I get the following error message:Įrror in get(Info, envir = env) : lazy-load database 'C:/Users/dell_x/Documents/R/win-library/3.3/rJava/R/rJava.rdb' is corrupt