[Rd] R 1.1.0: scan (PR#672)

kleiweg@let.rug.nl
2000-09-27T09:46:06Z

I'm using R 1.1.0 on Linux and HP-UX 10.20. I encountered a bug
in the HP-UX version.

When I do this:

lines <- scan(file="filename", what="",
sep="\n", strip.white=c(TRUE), quiet=TRUE)

.. it works OK on Linux. On HP-UX, the last line is read in
twice, giving 'lines' an extra element that is identical to the
previous element.

--
Peter Kleiweg
http://www.let.rug.nl/~kleiweg/


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._