Dear R-users,
I use readLines to read data, but when processing the large data set, there
are few files which can not be readed in:
48: In readLines(name_c[i]) ... :
incomplete final line found on 'C:/Documents and Settings/lma/My
From the help page for readLines:
If the final line is incomplete (no final EOL marker) the
behaviour depends on whether the connection is blocking or not.
For a non-blocking text-mode connection the incomplete line is
pushed back, silently. For all other connections the line
readLines can't completely read one file, then autimatically remove it
from my dataset?
Thanks.
Tammy
From: www...@gmail.com
Date: Thu, 1 Oct 2009 11:06:35 -0300
Subject: Re: [R] The problem of readLines
To: metal_lical...@live.com
CC: r-help@r-project.org
From the help page for readLines
3 matches
Mail list logo