[Rd] profiling C code

Thomas Lumley tlumley at u.washington.edu
Tue Feb 21 16:50:39 CET 2006


On Mon, 20 Feb 2006, Ross Boylan wrote:

> Does anyone have any advice about profiling C/C++ code in a package
> under R?  Does R need to be built specially for this to work?
>
> The FAQ has some entries about profiling but they cover R level
> profiling; I'm try to get at the C++ code I've written that is called
> from R.
>
> Primary target is Mac OS X.

Under OS X I use 'sample', which doesn't require any recompiling (or 
Sampler.app, which is a GUI version)

 	-thomas

>
> Thanks.
>
> Ross Boylan
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



More information about the R-devel mailing list