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") or library(gdata) read.xls() ----- A R learner. -- View this message in context: http://r.789695.n4.nabble.com/a-problem-tp2308667p2308676.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.