[Rd] A good way to debug a c++ library embedded to R code
Charles Novaes de Santana
charles.santana at gmail.com
Mon Feb 2 21:12:55 CET 2015
Thank you, Gabriel! I didn't know I could do it! I will try it!
On Mon, Feb 2, 2015 at 9:02 PM, Gabriel Becker <gmbecker at ucdavis.edu> wrote:
> Run R under gdb
> R -d gdb
> You can then set breakpoints and catch problems in C(++) code run under R.
> On Mon, Feb 2, 2015 at 10:59 AM, Charles Novaes de Santana <
> charles.santana at gmail.com> wrote:
>> 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++ I
>> would use GDB.
>> I would much appreciate any help or suggestion!
>> Best regards,
>> Um axé! :)
>> Charles Novaes de Santana, PhD
>> [[alternative HTML version deleted]]
>> R-devel at r-project.org mailing list
> Gabriel Becker, PhD
> Computational Biologist
> Bioinformatics and Computational Biology
> Genentech, Inc.
Um axé! :)
Charles Novaes de Santana, PhD
[[alternative HTML version deleted]]
More information about the R-devel