Skip to content
Prev 3563 / 10988 Next

[Rcpp-devel] R Memory Management and RInside

looks like you did something bad with a pointer, but it's hard to
know without seeing your code.

why don't you run w/ valgrind, it might help you locate the problem.

like this:
warmstrong at krypton:~$ R --debugger=valgrind
==28550== Memcheck, a memory error detector
==28550== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==28550== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==28550== Command: /usr/lib/R/bin/exec/R --no-save --no-restore --silent
==28550==

        
On Tue, Mar 6, 2012 at 2:08 AM, gershon bialer <gershon.bialer at gmail.com> wrote: