[R] odd error with rJava
Erin Hodgess
erinm.hodgess at gmail.com
Sun Mar 11 00:19:04 CET 2012
Hello!
I'm using R-2.14.2 on a Windows 7 64 bit machine and I did the following:
> install.packages("rJava",depen=TRUE)
--- 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
C:\Users\erin\AppData\Local\Temp\RtmpgVpcnT\downloaded_packages
> library(OpenStreetMap)
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
'c:/R64/R-2.14.2/library/rJava/libs/x64/rJava.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
Error: package ‘rJava’ could not be loaded
> library(rgdal)
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?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
More information about the R-help
mailing list