[请益] "package 'rJava' could not be loaded" when install RWeka

楼主: brooky (未够班)   2006-05-27 01:42:52
I am trying to install RWeka on workstation.
I use "install.package" and it worked well.
But when I try to use RWeka by typing 'library("RWeka")', there is an error
Loading required package: rJava
错误在dyn.load(x, as.logical(local), as.logical(now)) :
无法加载共享函数库“/home/master/94/r94152/lib/R/rJava/libs/rJava.so”:
libjvm.so: cannot open shared object file: No such file or directory
错误: package 'rJava' could not be loaded
I found there are some files named libjvm.so
/usr/lib/j2re1.5-sun/lib/amd64/server/libjvm.so
/usr/lib/j2sdk1.5-sun/jre/lib/amd64/server/libjvm.so
Shoud I set the libjvm.so to one of this?
If so, how should I do this?
Thanks.

Links booklink

Contact Us: admin [ a t ] ucptt.com