[R] Reading lines from file

uv uvtravel at hotmail.com
Wed Aug 29 15:53:33 CEST 2007

Hi. I have a text file containing a few hundred lines of numbers, each line
has a different length. For example:

1 4 1 1 7
3 11 1 1 1 1 1 1 2
2 4 1 2

And so on. I need to do a simple plot function for each line, and then to
save each plot into a separate file. Is there any way doing it from within

Alternatively, is there a way to run R from another language or from the X11
(Linux) terminal, sending as input each line, then plotting and saving?

Thank you very much for any idea. 
View this message in context: http://www.nabble.com/Reading-lines-from-file-tf4347936.html#a12387556
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list