[R] trying to import xls or xlsx files

Ivan Calandra ivan.calandra at uni-hamburg.de
Fri Jun 24 09:32:17 CEST 2011


This is true if the original problem was with gdata::read.xls().
But xlsReadWrite was loaded, and this package doesn't use Perl to read 
an xls file.

Is there a confusion somewhere?

Ivan


Le 6/24/2011 03:56, David Winsemius a écrit :
>
> 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.
>

-- 
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Dept. Mammalogy
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calandra at uni-hamburg.de

**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php



More information about the R-help mailing list