[R] Still confused with lapply
PtitBleu
ptit_bleu at yahoo.fr
Tue Nov 30 16:01:54 CET 2010
Hello Petr,
After your message, I finally decided to have a look in my script and to
modify the functions.
There is no more loop on rows and functions calling functions. I now use new
functions applied on complete columns and I also use your 'matrix' tip (Very
useful).
Result:
with the old script : 340000 rows in around 10 hours (then I stopped)
with the new functions : 2500000 rows in 50 seconds
Again thank you for your comment !!!!
Ptit Bleu.
--
View this message in context: http://r.789695.n4.nabble.com/Still-confused-with-lapply-tp3050414p3065532.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list