[R] How to use read.xls in R

Lisa Wang lisawang at uhnres.utoronto.ca
Fri Dec 8 00:01:02 CET 2006


Hello there,

In gdata package, read.xls is to be used for reading excel data (from
windows). 
The following is my code:('C:/session/sampledata.xls' is where the file
is stored)

data1<-read.xls('C:/session/sampledata.xls',sheet=1)

and I got the following error message:
Error in system(cmd, intern = !verbose) : perl not found

Could you please tell me what I have done wrong and how I should do it?

Thanks a lot

Lisa Wang 
Princess Margaret Hospital, Toronto, Ca
tel:416 946 4551




More information about the R-help mailing list