[R] odd error with rJava
jwiley.psych at gmail.com
Sun Mar 11 00:30:14 CET 2012
You need to make sure that rJava both installs correctly and can load.
The R package system is quite robust, so off the top of my head, I
would guess you need to setup Java properly on the machine. See the
rJava package for what it requires.
On Sat, Mar 10, 2012 at 3:19 PM, Erin Hodgess <erinm.hodgess at gmail.com> wrote:
> I'm using R-2.14.2 on a Windows 7 64 bit machine and I did the following:
> --- Please select a CRAN mirror for use in this session ---
> trying URL 'http://cran.sixsigmaonline.org/bin/windows/contrib/2.14/rJava_0.9-3.zip'
> Content type 'application/zip' length 745867 bytes (728 Kb)
> opened URL
> downloaded 728 Kb
> package ‘rJava’ successfully unpacked and MD5 sums checked
> The downloaded packages are in
> Loading required package: rJava
> Error : .onLoad failed in loadNamespace() for 'rJava', details:
> call: inDL(x, as.logical(local), as.logical(now), ...)
> error: unable to load shared object
> LoadLibrary failure: %1 is not a valid Win32 application.
> Error: package ‘rJava’ could not be loaded
> Loading required package: sp
> Geospatial Data Abstraction Library extensions to R successfully loaded
> Loaded GDAL runtime: GDAL 1.9.0, released 2011/12/29
> Path to GDAL shared files: c:/R64/R-2.14.2/library/rgdal/gdal
> Loaded PROJ.4 runtime: Rel. 4.7.1, 23 September 2009, [PJ_VERSION: 470]
> Path to PROJ.4 shared files: c:/R64/R-2.14.2/library/rgdal/proj
> What am I doing wrong, please?
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ph.D. Student, Health Psychology
Programmer Analyst II, Statistical Consulting Group
University of California, Los Angeles
More information about the R-help