在R中使用c4.5算法做决策树时,在加载程序包RWeka时有错误:
> install.packages('RWeka')
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/RWeka_0.4-24.zip'
Content type 'application/zip' length 536105 bytes (523 KB)
downloaded 523 KB
package ‘RWeka’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\zhangxiuyan\AppData\Local\Temp\RtmpQL9xRv\downloaded_packages
> library(RWeka)
Error : loadNamespace()里算'rJava'时.onLoad失败了,详细内容:
调用: fun(libname, pkgname)
错误: JAVA_HOME cannot be determined from the Registry
Error: ‘RWeka’程辑包或名字空间载入失败,
哪位大神知道这是什么意思呢?????