Skip to content
Prev 6002 / 15075 Next

profiling C shared libraries loaded into R

Simon:

Thanks for your suggestion.  I recompiled R 2.9.0, including the -g  
and -pg flags everywhere.  I still do not see a gmon.out file in my  
working directory.  And now, Shark crashes as soon as it start  
analyzing the samples.  This occurs with any R job, not just my own  
shared lib.

Is there a way I can look after the fact to see if R was compiled  
correctly to support profiling?

Thanks,

Michael
On Jun 12, 2009, at 7:27 PM, Simon Urbanek wrote:

            
-------------------------------------------
Michael Braun
Homer A. Burnell Career Development Professor, and
	Assistant Professor of Management Science (Marketing Group)
MIT Sloan School of Management
One Amherst St., E40-169
Cambridge, MA 02142
braunm at mit.edu
617-253-3436