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