[R] Problem with loading rJava in R

charis charis at kaskiris.com
Thu Feb 12 02:40:23 CET 2009


Hello.

I am trying to load the rJava package in R-2.7.2 (Windows XP 64-bit RGui)
and get the following error message even though the mentioned .dll file is
located at the directory listed in the error message. I have tried to
uninstall and reinstall the package but that does not resolve the problem.
Then uninstallation and re-installation of R did not resolve the issue
either. Any suggestions are appreciated. charis.

<R Console>
> library(rJava)
Error in inDL(x, as.logical(local), as.logical(now), ...) : 
  unable to load shared library 'C:/R/R-2.7.2/library/rJava/libs/rJava.dll':
  LoadLibrary failure:  The specified module could not be found.


Error : .onLoad failed in 'loadNamespace' for 'rJava'
Error: package/namespace load failed for 'rJava'

> sessionInfo()
R version 2.7.2 (2008-11-24) 
i386-pc-mingw32 

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices datasets  tcltk     utils     methods  
base     

other attached packages:
[1] Matrix_0.999375-17 lattice_0.17-17    filehash_2.0       svSocket_0.9-5    
TinnR_1.0.2        R2HTML_1.59        Hmisc_3.4-4        RProbase_0.1-0    

loaded via a namespace (and not attached):
[1] cluster_1.11.11 grid_2.7.2      svMisc_0.9-5    tools_2.7.2
</R Console>
-- 
View this message in context: http://www.nabble.com/Problem-with-loading-rJava-in-R-tp21968371p21968371.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list