From tlumley at u.washington.edu  Tue Feb 21 16:50:39 2006
From: tlumley at u.washington.edu (Thomas Lumley)
Date: Tue, 21 Feb 2006 07:50:39 -0800 (PST)
Subject: [Rd] profiling C code
In-Reply-To: <20060221001818.GA12976@wheat.betterworld.us>
References: <20060221001818.GA12976@wheat.betterworld.us>
Message-ID: <Pine.LNX.4.64.0602210748540.1702@homer24.u.washington.edu>

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



[Rd] profiling C code
Thomas Lumley