0

I'm trying to write excel files in R When I'm tryin to access the package I'm getting this error message:

library("xlsx") Error: package or namespace load failed for ‘xlsx’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry

What does it mean?

Bare in mind I'm a noob

Thanks!

  • Rather than setting up Java, it might be eaiser to use a different package like [writexl](https://cran.r-project.org/package=writexl) – MrFlick Jun 25 '21 at 08:07
  • Also, you may use [readxl](https://cran.r-project.org/web/packages/readxl/index.html) package for importing/reading excel files. – skorkmaz Jun 25 '21 at 08:11
  • Damn that was fast! Thanks guys will try both. – RoadmanR Jun 25 '21 at 08:13

0 Answers0