[R] R Split comma separated list
    Carl Witthoft 
    carl at witthoft.com
       
    Tue Dec  8 23:41:45 CET 2009
    
    
  
All the solutions presented work, but, gosh,
why not fix the source file in the first place?
One way:  Open the text file in Excel or a clone thereof, and tell the 
importer dialog box to use both tabs and commas as delimiters.  Then 
save the result, which will have your 'third column' nicely split into 
separate sets of data.
Actually, I would recommend  going back to whatever (stupid incompetent) 
  tool produced that file full of inconsistent delimiters and fixed the 
problem at the source.
Carl
    
    
More information about the R-help
mailing list