[Rd] R 1.1.0: scan (PR#672)
kleiweg@let.rug.nl
kleiweg@let.rug.nl
Wed, 27 Sep 2000 11:46:06 +0200 (MET DST)
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._