Skip to content
Prev 105743 / 398503 Next

How to use read.xls in R

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