Skip to content
Prev 14281 / 398502 Next

File reading.

Indeed it was the 'file' command that I was missing.  Passing this object
through to 'scan' does what I was looking for.
Read 1 records
Read 39 records

The 'scan' documentation doesn't really explain this very well...

|     scan(file = "", what = double(0), nmax = -1, n = -1, sep = "",
|          quote = if (sep=="\n") "" else "'\"", dec = ".",
|          skip = 0, nlines = 0, na.strings = "NA",
|          flush = FALSE, fill = FALSE, strip.white = FALSE, quiet = FALSE,
|          blank.lines.skip = TRUE, multi.line = TRUE)

Thanks!
Randall
On Wed, 17 Oct 2001, Roger Bivand wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._