On Fri, Jun 25, 2010 at 4:17 PM, Bert Gunter <gunter.ber...@gene.com> wrote: > "On average, any data manipulation that can be described in a sentence or > two of English can be programmed in one line in R. If you find yourself > writing a long 'for' loop to do something that sounds simple, take a step > back and research if an existing combination of functions can easily handle > your request." > I've already fallen in this trap. A couple hours of reading Rnews on the apply() family would have saved me a month or so of for() programming. Liviu
______________________________________________ R-help@r-project.org 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.