[R] More on scan()

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Thu Dec 19 22:09:03 CET 2002


Hi,

If I have a CSV file which has several comments at the top, and the data
start immediately after the line:
  @DATA

Is it possible to use the scan() command to get the CSV data into R, by
only reading the lines after @DATA?  If so, how can I do it?

Cheers,

Kevin

------------------------------------------------------------------------------
/* Time is the greatest teacher, unfortunately it kills its students */

Ko-Kang Kevin Wang
Master of Science (MSc) Student
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022




More information about the R-help mailing list