[R] Reading blank lines

Duncan Murdoch murdoch at stats.uwo.ca
Fri Aug 4 19:24:07 CEST 2000

I'm writing a data.restore function like the one in S-PLUS.  One
problem:  scan() deletes any blank lines when it reads with
what=list('').  Is there a way to tell it to convert a blank line to a
0 length string element?

Duncan Murdoch
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list