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.

______________________________________________
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.

Reply via email to