[R] Reading in and writing out one line at a time

Johannes Huesing johannes at huesing.name
Fri May 21 21:30:23 CEST 2010

Jan van der Laan <djvanderlaan at gmail.com> [Fri, May 21, 2010 at 11:22:35AM CEST]:
> Perhaps you mean something like sapply or apply?

Neither am I certain what he means exactly, but I would use apply and cousins
only if I don't care in which sequence the elements are processed. His problem
(reading line by line) sounds as if the order of processing matters.

Johannes Hüsing               There is something fascinating about science. 
                              One gets such wholesale returns of conjecture 
mailto:johannes at huesing.name  from such a trifling investment of fact.                
http://derwisch.wikidot.com         (Mark Twain, "Life on the Mississippi")

More information about the R-help mailing list