Peng Yu wrote: > > Is there a way to profile an R program similar to valgrind > (valgrind.org), in the sense that I can easily see which function is > the bottleneck of an R program? >
See writing R-Extensions, Section 3 "Tidying and Profiling R Code": http://cran.r-project.org/doc/manuals/R-exts.html#Tidying-and-profiling-R-code -Charlie -- View this message in context: http://n4.nabble.com/How-to-profile-an-R-program-tp960773p960792.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.