[R] read multiple sheets of excel data into R

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Sat May 28 20:34:27 CEST 2016


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]]



More information about the R-help mailing list