[R] R input file scanning
    Liaw, Andy 
    andy_liaw at merck.com
       
    Fri Nov  7 01:52:50 CET 2003
    
    
  
If the portion of the file that you want to read is "rectangular" (same
number of fields in all lines and same type of data in each column), you can
use either read.table() or scan() and supply the skip= argument to skip over
the headers you don't want to read in.
HTH,
Andy
> From: Mathieu Drapeau [mailto:mathieu.drapeau at bioneq.qc.ca] 
> 
> Hi,
> I would like to know how can I solve my problem...
> I want to load some data (surrounded by a tag) that are 
> stored in a file 
> that contains also some scrap (header and descriptions) that 
> I want to 
> skip. How can I do that?
> 
> Thanks,
> Mathieu
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://www.stat.math.ethz.ch/mailman/listinfo> /r-help
>
    
    
More information about the R-help
mailing list