[Rd] (HP-UX) scan: last line gets duplicated (PR#790)

kleiweg@let.rug.nl kleiweg@let.rug.nl
Fri, 22 Dec 2000 05:10:41 +0100 (MET)


The last line gets duplicated when a file is read like this:

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

(This error does not occur on Linux, the only other platform I
 tested.)

Version:
 platform = hppa2.0-hp-hpux10.20
 arch = hppa2.0
 os = hpux10.20
 system = hppa2.0, hpux10.20

Actually, all binaries are PA-RISC1.1

 status =
 major = 1
 minor = 2.0
 year = 2000
 month = 12
 day = 15
 language = R

Search Path:
 .GlobalEnv, package:mva, package:ctest, Autoloads, package:base
 
-- 
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._