[R] Importing Data
ligges at statistik.uni-dortmund.de
Wed Aug 6 18:12:40 CEST 2003
Hadassa Brunschwig wrote:
> Im trying to import data from an excel sheet or a sas file to R...im not
> succeeding. Apparently the function read.xport for reading a SAS file
> doesnt exist. What do i have to type in EXACTLY to read from an excel
> sheet(i guess i would be using read.table?)?
- read.xport() is in package foreign, so use library(foreign) before
using the function.
Please read the manual R Data Import / Export.
You cannot read from Excel with read.table() directly, but there are at
least three other ways, in particular by using RODBC or exporting /
importing through in ASCII format.
> Thanks in advance for an answer
> R-help at stat.math.ethz.ch mailing list
More information about the R-help