On 31.07.2010 07:17, Wu Gong wrote:
The function write.foreign is used to export data to other statistical
software. To read data from Excel, R has :
library(foreign)
read.xport("name.xpt")
No, since it is intended to read SAS XPORT files...
Please also quote the original question, otherwise nobody can follow
what is going on.
Best,
Uwe Ligges
or
library(gdata)
read.xls()
-----
A R learner.
______________________________________________
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.