Rweka软件包似乎已正确安装:
> install.packages("RWeka")
trying URL 'https://lib.ugent.be/CRAN/bin/windows/contrib/3.5/RWeka_0.4-39.zip'
Content type 'application/zip' length 632622 bytes (617 KB)
downloaded 617 KB
package ‘RWeka’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\jacqu831\AppData\Local\Temp\Rtmpi4X0Jt\downloaded_packages
但是当我尝试对库进行整理时,它失败了:
> library(RWeka)
Error: package or namespace load failed for ‘RWeka’:
.onLoad a échoué dans loadNamespace() pour 'rJava', détails :
appel : fun(libname, pkgname)
erreur : JAVA_HOME cannot be determined from the Registry
In addition: Warning message:
le package ‘RWeka’ a été compilé avec la version R 3.5.2
有什么想法吗?谢谢。