read multiple sheets of excel data into R
Try the 'openxlsx' package. I gave up using XLConnect because of the Java requirement, and speed on larger tables. "openxlsx" has the access routines written in C so you don't need any other outside dependencies. Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Sat, May 28, 2016 at 2:34 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
Apparently you need to get your Java runtime setup, or install Perl, depending which of these tools you want to use. Or if your data are laid out simply, you might be able to use the readxl package. -- Sent from my phone. Please excuse my brevity. On May 28, 2016 10:55:50 AM PDT, li li <hannah.hlx at gmail.com> wrote:
Hi all, I tried to use the package "XLConnect" to read excel data into R. I got the following error message: Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures. I tried read.xls and got the following error message:
library(gdata)> one <- read.xls ("one.xlsx", sheet=1)Error in
findPerl(verbose = verbose) :
perl executable not found. Use perl= argument to specify the correct
path.Error in file.exists(tfn) : invalid 'file' argument
Can anyone give me some input on this?
Thanks.
Hanna
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.