Skip to content
Prev 277851 / 398506 Next

Reading a file w/ two delimiters

The thing to watch out for is if you file is large, 'textConnection'
is very slow at providing the data stream for something like
read.table.  It is usually much faster to read in the file with
'readLines', preprocess the data data, write it out to a tempfile and
then read it back in with 'read.table'.
On Fri, Nov 18, 2011 at 9:52 AM, David Winsemius <dwinsemius at comcast.net> wrote: