How do I read excel files with .xlsx extension in r programming language? I have tried installing package xlsx but after I run library(xlsx) I get -
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 In addition: Warning message: package ‘xlsx’ was built under R version 3.5.3 ".
Further, how can I convert .xlsx file to .csv file?
readxlare good. Thexlsxpackage also provides capability to write Excel files, which involves much more than you require. It also depends onrJavaand having Java's JDK installed on your system. See cran.r-project.org/web/packages/xlsx/readme/README.html, under "Common Problems". - Brian Stamper