[R] help to ... import the data from Excel

David Winsemius dwinsemius at comcast.net
Fri Oct 14 18:44:22 CEST 2011


On Oct 14, 2011, at 11:54 AM, Sarah_R_edu wrote:

>
>
> I am tried
>
> z <- read.xls(file="C:\\Users\\user\\Desktop\\LTS.xls",  
> colNames=FALSE,
> rowNames=FALSE)

The read.xls that I have (from pkg:gdata) does not have arguments  
named colNames or rowNames, and those do not look correct to be passed  
to read.table, so maybe you are using a different package or version?


> and the following massege is appeared:
>
> Error in .Call("ReadXls", file, colNames, sheet, type, from,  
> rowNames,  :
>  Incorrect number of arguments (11), expecting 10 for 'ReadXls'
>
>

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list