rJava access issue in R3.3.0 (Windows XP)

时间:2016-07-11 20:00:30

标签: r excel

I need to use the package "xlsx" to export some data on R to excel, but that package requires rJava to run. Whenever I use library(rJava) to call rJava, I get the following error:

Error:.onLoad failed in loadNamespace() for 'rJava', details:
  call: fun(libname, pkgname)
  error: JAVA_HOME cannot be determined from the Registry
Error: package 'rJava' could not be loaded

I honestly cannot make heads or tails of it. What can I do to fix it?

0 个答案:

没有答案