[R] Snallball, rJava, and R 2.15.1

Triss.Ashton triss.ashton at unt.edu
Wed Oct 31 15:29:41 CET 2012


I just bought a new machine and installed the latest release of R 2.15.1 two
days ago.  Loaded libraries yesterday (all reported successful loads). 
While running scripts, rJava and Snowball would not load.  Here is Snowball
successful install:


> utils:::menuInstallPkgs()
trying URL
'http://cran.cs.wwu.edu/bin/windows/contrib/2.15/Snowball_0.0-8.zip'
Content type 'application/zip' length 386840 bytes (377 Kb)
opened URL
downloaded 377 Kb

package ‘Snowball’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\Triss\AppData\Local\Temp\RtmpKsz7Qg\downloaded_packages
> 


Here is rJava' successful install:

> utils:::menuInstallPkgs()
trying URL 'http://cran.cs.wwu.edu/bin/windows/contrib/2.15/rJava_0.9-3.zip'
Content type 'application/zip' length 746108 bytes (728 Kb)
opened URL
downloaded 728 Kb

package ‘rJava’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\Triss\AppData\Local\Temp\RtmpKsz7Qg\downloaded_packages
> 

The directories for rJava and Snowball are viewable in the Libraries
directory.   Tried to run my scripts but rJava and Snowball failed to load
giving the following error when the libraries try to load:

> library(rJava)
Error : .onLoad failed in loadNamespace() for 'rJava', details:
  call: fun(libname, pkgname)
  error: JAVA_HOME cannot be determined from the Registry
Error: package/namespace load failed for ‘rJava’
> library(Snowball)
Error : .onLoad failed in loadNamespace() for 'Snowball', details:
  call: NULL
  error: .onLoad failed in loadNamespace() for 'rJava', details:
  call: fun(libname, pkgname)
  error: JAVA_HOME cannot be determined from the Registry
In addition: Warning message:
package ‘Snowball’ was built under R version 2.15.2 
Error: package/namespace load failed for ‘Snowball’
> 

I then found a different copy of rJava on R-Force last night.  Installed it
and it seemed to fix the rJava problem.  However, Snowball continues to be a
problem:

  Error : .onLoad failed in loadNamespace() for 'Snowball', details:
  call: get(Info[i, 1], envir = env)
  error: internal error -3 in R_decompress1
In addition: Warning messages:
1: package ‘lsa’ was built under R version 2.15.2 
2: package ‘Snowball’ was built under R version 2.15.2 
Error: package ‘Snowball’ could not be loaded
> 
> 

To illustrate this problem, I reinstalled the rJava package from Cran this
morning.  After writing this up, went back to R-force to reinstall a working
copy of rJava, but it seems they have now pulled the rJava library so I am
now stuck with two broken libraries.  Thought the problem might be with R
2.15.1.  Installed 2.15.0 but same results.  One other point: at one time
last night there was a window popping up with a warning message - something
to do with "Rf_copyListMatrix".  That window is not coming up this morning. 
Let me know if there is anything else you need to figure this out.

Thanks,

Triss



--
View this message in context: http://r.789695.n4.nabble.com/Snallball-rJava-and-R-2-15-1-tp4648007.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list