[R] trying to import xls or xlsx files
David Winsemius
dwinsemius at comcast.net
Fri Jun 24 03:56:19 CEST 2011
On Jun 23, 2011, at 2:00 PM, wwreith wrote:
> library(xlsReadWrite)
> mydata<-read.xls("file path", header=TRUE)
>
> however if I change xls to csv it works just fine. Any ideas what
> I'm doing
> wrong? I have have also using the package gdata with the exact same
> error.
>
> Below is the error that pops up.
>
> 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
Your error message suggests you do not have a suitable version of Perl
installed.
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list