[R] Packages couldn't load

Emeka Don emekadonn at gmail.com
Tue Jan 16 13:08:57 CET 2018


Dear All,
I have been trying to install Xlsx package in R but  i have been getting
this error after the installation. Please can anyone help?

> any(grepl("xlsx",installed.packages()))
[1] TRUE
> library("xlsx")
Loading required package: rJava
Error: package or namespace load failed for ‘rJava’:
 .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
In addition: Warning messages:
1: package ‘xlsx’ was built under R version 3.4.3
2: package ‘rJava’ was built under R version 3.4.3

Thank you

-- 
Onyeuwaoma Nnaemeka Dom PhD.
Scientific Officer.
Center for Basic Space Science (CBSS)
National Space Research and Development Agency (NASRDA)
Federal Ministry of Science and Technology
University of Nigeria, Nsukka
P. M. B. 2022, Nsukka, Enugu State, Nigeria.
+2348032686377, +2347052835685
email:onyeuwaoma.emeka at cbss.nasrda.gov.ng

	[[alternative HTML version deleted]]



More information about the R-help mailing list