Re: [R] incomplete final line found by readLines on ...

2006-07-05 Thread Prof Brian Ripley
readLines in R-devel has argument warn=TRUE, so you can easily change the behaviour if using that version of R. On Fri, 30 Jun 2006, Taka Matzmoto wrote: Dear R-users I need to read some text files produced by some other software. I used readLines (with n = -1 ) command and then tried to

[R] incomplete final line found by readLines on ...

2006-06-30 Thread Taka Matzmoto
Dear R-users I need to read some text files produced by some other software. I used readLines (with n = -1 ) command and then tried to find some numbers I liked to extract or some line numbers I like to know. The problem is that there is no empty line at the end of the text files. R gave me

Re: [R] incomplete final line found by readLines on ...

2006-06-30 Thread François Pinard
[Taka Matzmoto] Is there any way to prevent [this] warning message. Hi, Taka. The easiest might be using the suppressWarnings wrapper. See ?suppressWarnings for more information. -- François Pinard http://pinard.progiciels-bpi.ca __