Skip to content
Prev 247601 / 398503 Next

Importing multiple text files with lapply.

It sounds like you want to use 'readLines' and not 'read.table'
+ January 11, 2009
+ October 19, 2008
+ October 13, 2008
+ August 16, 2008
+ June 19, 2008
+ April 19, 2008
+ April 16, 2008
+ February 9, 2008
+ September 2, 2007"))
[1] "January 11, 2009"  "January 11, 2009"  "October 19, 2008"
"October 13, 2008"  "August 16, 2008"
 [6] "June 19, 2008"     "April 19, 2008"    "April 16, 2008"
"February 9, 2008"  "September 2, 2007"
What exactly are you going to do with the data after you read it in?
On Mon, Jan 17, 2011 at 6:22 PM, Simon Kiss <simonjkiss at yahoo.ca> wrote: