[R] Reading complicated data file

chr.schulz@email.de chr.schulz at email.de
Wed Sep 25 14:50:17 CEST 2002


..i'm sorry, the function 
scan() should more approriate than readLines().

regards,Christian


zlamal at ufi.fme.vutbr.cz schrieb am 25.09.02 14:16:06:
> Hi, I am new in R and I have problem with reading this data file
> 
> 0 TITLE Title
>  0 XLEGEND Legend
> -1 LABEL x
> 1 1 12
> 1 2 30
> 1 3 34
> 
> I want to read only lines starting with 1 (it indicates 1st plotting line) 
> and create data set from second and third value on this row.
> 
> Thank for advice
> Jakub Zlamal
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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