gt; > Sent: Monday, February 2, 2015 12:02:27 PM
> > Subject: Re: [Rd] A good way to debug a c++ library embedded to R code
> >
> > Charles,
> >
> > Run R under gdb
> >
> > R -d gdb
> >
> > You can then set breakpoints and catch problems in C
- Original Message -
> From: "Gabriel Becker"
> To: "Charles Novaes de Santana"
> Cc: "r-devel"
> Sent: Monday, February 2, 2015 12:02:27 PM
> Subject: Re: [Rd] A good way to debug a c++ library embedded to R code
>
> Charles,
>
Thank you, Gabriel! I didn't know I could do it! I will try it!
Best,
Charles
On Mon, Feb 2, 2015 at 9:02 PM, Gabriel Becker wrote:
> Charles,
>
> Run R under gdb
>
> R -d gdb
>
> You can then set breakpoints and catch problems in C(++) code run under R.
>
> ~G
>
> On Mon, Feb 2, 2015 at 10:59
Charles,
Run R under gdb
R -d gdb
You can then set breakpoints and catch problems in C(++) code run under R.
~G
On Mon, Feb 2, 2015 at 10:59 AM, Charles Novaes de Santana <
charles.sant...@gmail.com> wrote:
> Dear all,
>
> I am using R CMD SHLIB to compile a c++ code into a library (.so) and
Dear all,
I am using R CMD SHLIB to compile a c++ code into a library (.so) and
dyn.load to load this library into a R code. I am facing some problems in
the c++ code that I can not figure out how to solve. Do you recomend any
good way to debug this R + C++ program? If I was programming only in C+