Re: [R-SIG-Mac] profiling C shared libraries loaded into R

2009-06-14 Thread Simon Urbanek
On Jun 13, 2009, at 5:58 PM, Michael Braun wrote: Simon: Sorry, please disregard my last email. Shark was crashing because some of something with Shark, not R. But unfortunately, the Unknown Libraries remain. Here is how I compiled R. In the config.site file, I set:

Re: [R-SIG-Mac] profiling C shared libraries loaded into R

2009-06-14 Thread Michael Braun
Simon: Now I'm having trouble getting R to compile at all. I now set up my config.site file to something bare bones. CC='gcc-4.2 -arch x86_64' OBJC='gcc-4.2 -arch x86_64' F77='gfortran -arch x86_64' CXX='g++-4.2 -arch x86_64' FC='gfortran -arch x86_64' I then use the same configure script

Re: [R-SIG-Mac] profiling C shared libraries loaded into R

2009-06-13 Thread Michael Braun
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.

Re: [R-SIG-Mac] profiling C shared libraries loaded into R

2009-06-13 Thread Michael Braun
Simon: Sorry, please disregard my last email. Shark was crashing because some of something with Shark, not R. But unfortunately, the Unknown Libraries remain. Here is how I compiled R. In the config.site file, I set: R_PAPERSIZE=letter R_BATCHSAVE=--no-save CC='gcc-4.2 -arch x86_64

[R-SIG-Mac] profiling C shared libraries loaded into R

2009-06-12 Thread Michael Braun
Hi. I have a shared library that I would like to profile. I see that this issue has been touched on in some previous posts, but I am still having trouble, and I am hoping someone here can help. First things first... I am running R 2.8.0 patched on OS X 10.5.7, on a dual quad-core Mac

Re: [R-SIG-Mac] profiling C shared libraries loaded into R

2009-06-12 Thread Simon Urbanek
Michael, On Jun 12, 2009, at 4:20 PM, Michael Braun wrote: Hi. I have a shared library that I would like to profile. I see that this issue has been touched on in some previous posts, but I am still having trouble, and I am hoping someone here can help. First things first... I am