[R] problem formatting data frames

VBMorozov@lbl.gov VBMorozov at lbl.gov
Wed Jul 17 16:01:34 CEST 2002

 Dear R-guRus:
I have a problem with the format of my data in R. 
Let's say I have a HUGE text table which consists of columns of 
numerical data, separated by tabs, but in some places rows of text 
(error messages, etc) are inserted in between rows of numerical data. 
Because the data file is so huge and because I have thousands of these 
files, it's unpractical to try and go thru these files manually and 
remove text rows - I'd like R to do it for me.
The following command works:


but instead of numerical data in my frame I get "factor" data, because 
of these text inserts. How do I filter them out??

Thank you very much,

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list