[請益] "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