Re: [R] Profiling a C/C++ library from R

2014-12-05 Thread Charles Novaes de Santana
Thank you very much for the tips, Martin and Duncan! Rprof and operf are helping me a lot!! Also, I am now in R-dev maillist and I see there seems to be more appropriate to this kind of question. Best, Charles On Wed, Dec 3, 2014 at 12:03 AM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On

Re: [R] Profiling a C/C++ library from R

2014-12-02 Thread Martin Morgan
On 12/02/2014 01:43 PM, Charles Novaes de Santana wrote: Dear all, I am running a c++ library (a .so file) from a R code. I am using the function dyn.load(lib.so) to load the library. Do you know a way to profile my C library from R? Or should I compile my C library as an executable and profile

Re: [R] Profiling a C/C++ library from R

2014-12-02 Thread Duncan Murdoch
On 02/12/2014, 4:43 PM, Charles Novaes de Santana wrote: Dear all, I am running a c++ library (a .so file) from a R code. I am using the function dyn.load(lib.so) to load the library. Do you know a way to profile my C library from R? Or should I compile my C library as an executable and