Skip to content
Prev 255769 / 398503 Next

Questions remaining: define any character as na.string RE: merging data list in to single data frame

On Apr 4, 2011, at 12:37 PM, Umesh Rosyara wrote:

            
Option 1: do it in an editor that is regex aware.
Option 2: input the file with readLines, use gsub to remove the  
unwanted characters, read.table(textConnection(obj))  on the resulting  
object. [There are many worked examples in the archives. Search on  
"read.table(textConnection("  .]