Re: [R] can't read excel file with read.xls()

2010-04-02 Thread array chip
Thanks for the link, very useful. A simple fix to the code using normalizePath(), or full path name. read.xls(normalizePath("ttt.xls")) --- On Fri, 4/2/10, Gabor Grothendieck wrote: > From: Gabor Grothendieck > Subject: Re: [R] can't read excel file with read.xls() >

Re: [R] can't read excel file with read.xls()

2010-04-02 Thread Gabor Grothendieck
Read about the bugs and workarounds on this page: http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows&s=excel On Fri, Apr 2, 2010 at 6:56 PM, array chip wrote: > Hi, I encountered a problem of not being able to read in an excel spreadsheet > using read.xls() in the xlsReadWrite package

[R] can't read excel file with read.xls()

2010-04-02 Thread array chip
Hi, I encountered a problem of not being able to read in an excel spreadsheet using read.xls() in the xlsReadWrite package. can anyone help? Here is an example code write.xls(matrix(1:9,nrow=3),"ttt.xls") read.xls("ttt.xls") Error in read.xls("ttt.xls") : Unexpected error. Message: Can't fin