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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to