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
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
[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
__