[R] Doing a Task Without Using a For Loop

Claudia Beleites cbeleites at units.it
Tue Oct 14 17:11:18 CEST 2008

> This seems to work but is horribly slow (some files I am working with have
> over 500,000 lines). Can anyone suggest a faster way of doing this, perhaps
> a way that does not use a for loop? Thanks.
If the table solutions don't work or take forever with your real data, have a 
look into the wiki:


Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
Università degli Studi di Trieste
Via Alfonso Valerio 6/a
I-34127 Trieste

phone: +39 (0 40) 5 58-34 47
email: cbeleites at units.it

More information about the R-help mailing list