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 R? 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. ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.