An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100512/81c8538f/attachment.pl>
how to profile R interpreter?
6 messages · xiaoming gu, David Winsemius, Erich Neuwirth +1 more
On May 12, 2010, at 3:22 PM, xiaoming gu wrote:
Hi, all. Does anyone know how to profile R interpreter? I've tried gprof but it doesn't work. Thanks.
?Rprof # and perhaps ?system.time # or help(package=rbenchmark)
Xiaoming
David Winsemius, MD West Hartford, CT
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100512/8f13452b/attachment.pl>
On May 12, 2010, at 3:42 PM, xiaoming gu wrote:
Thanks for your quick reply, David. Let me make myself more clear. I tried Rprof, which only gives profiling information at script level. My intention is to identify hot spots in R interpreter. I compiled R interpreter with -pg for gprof. However, I couldn't generate gmon.out when I ran the R interpreter with a script.
Could this possibly be handled better in R-devel? Doesn't sound like typical R usage.
Xiaoming On Wed, May 12, 2010 at 3:34 PM, David Winsemius <dwinsemius at comcast.net
wrote:
On May 12, 2010, at 3:22 PM, xiaoming gu wrote: Hi, all. Does anyone know how to profile R interpreter? I've tried gprof but it doesn't work. Thanks. ?Rprof # and perhaps ?system.time # or help(package=rbenchmark) Xiaoming --
David Winsemius, MD West Hartford, CT
3 days later
Look for Rprof in the utils package.
On 5/12/2010 9:22 PM, xiaoming gu wrote:
Hi, all. Does anyone know how to profile R interpreter? I've tried gprof but it doesn't work. Thanks. Xiaoming
Erich Neuwirth, University of Vienna Faculty of Computer Science Center for Computer Science Didactics and Learning Research Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39902 Fax: +43-1-4277-39459
Erich Neuwirth wrote:
Look for Rprof in the utils package.
This was already suggested- but the original poster clarified that he is looking to profile the R interpreter it's self, not R scripts. ----- Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering Humboldt State University
View this message in context: http://r.789695.n4.nabble.com/how-to-profile-R-interpreter-tp2196633p2218846.html Sent from the R help mailing list archive at Nabble.com.