[R] can't load rJava in R 2.8.1 on Windows XP

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 23 14:02:53 CET 2009


Most likely Java is not in place, including in the DLL search path.

On Fri, 23 Jan 2009, drflxms wrote:

> Dear community,
>
> unfortunately I did not manage load the rJava package receiving the following
> error-message:
>
>
>> library("rJava")
> Error in inDL(x, as.logical(local), as.logical(now), ...) :
> kann shared library 'C:/Programme/R/2.8.1/library/rJava/libs/rJava.dll' nicht
> laden:
> LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.

You should get a popup here with more information (from Windows).  The 
problem is not rJava.dll, but one of its dependencies.

> Error : .onLoad in 'loadNamespace' für 'rJava' fehlgeschlagen
> Fehler: Laden von Paket/Namensraum für 'rJava' fehlgeschlagen
>
>
> Translation:
> can't load library ... rJava.dll
> LoadLibrary failure: the module was not found
>
> Reinstalling the package did not help, installing the latest developement
> version didn't help as well.
>
> The shared library rJava.dll is in place (exactly where R is looking for it)!
>
> Are there any ideas, what's wrong.
> I'd appreciate any kind of help very much, as I need rJava urgently to use RWeka and iPlots.
>
> Best regards,
> Felix
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list