Skip to content
Prev 175028 / 398506 Next

Odp: Tables

Hi

r-help-bounces at r-project.org napsal dne 26.03.2009 16:39:18:
How do you know that c is in third column? If you can expect fixed width 
fields try

read.fwf

but if there is nothing what separates fields and they have variable 
length it would be quite difficult. Maybe to read each line and then to 
use some regexpr function no properly divide each line into appropriate 
columns.

But maybe somebody will come with better idea.

Regards
Petr
***************************************************************************************************************
http://www.R-project.org/posting-guide.html