[R] Need to read an Excel File

Hans-Peter Suter gchappi at gmail.com
Sat Jul 31 13:30:23 CEST 2010


2010/7/30 rajibshibly <rajibshibly at yahoo.com>:
>
> I am trying to read an Excel file using the following:
> a<-read.xls("mydata.xls", sheet=1)
[snip]
> 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

The 'read.xls' function in the the xlsReadWrite package (Win32 only)
doesn't have external dependencies. Might be an option as well.

Cheers,
Hans-Peter



More information about the R-help mailing list