Hi David,
On 15 April 2012 at 11:20, Silkworth,David J. wrote:
| While I really appreciated this exchange as informative in tutorial
| sense,
| I am still trying to figure out the cause of Marie's seg-fault.
|
| Holding Dirk's first fix up to the light with Marie's code all I really
| see is rem
While I really appreciated this exchange as informative in tutorial
sense,
I am still trying to figure out the cause of Marie's seg-fault.
Holding Dirk's first fix up to the light with Marie's code all I really
see is removal of the
#include
directive (which I assume, without looking, i
As a second follow-up: if you
a) use RcppArmadillo,
b) you also define
PKG_CPPFLAGS= -UNDEBUG
somewhere (I use ~/.R/Makevars) to suppress R's new -DNDEBUG
which otherwise turns debugging asserts off
then you get bounds checking from Armadillo on the normal (eg
Hi Marie,
Thanks for posting here.
On 13 April 2012 at 11:31, Marie Auger-Methe wrote:
| I am new to Rcpp, c++, and inline. I have created a simple test function
| which works some of the times but not all the times. It generally
Sign of a memory error writing past bounds...
| crashes when I
Hi,
I am new to Rcpp, c++, and inline. I have created a simple test function
which works some of the times but not all the times. It generally
crashes when I run it with a large sample size or after calling the
function multiple times. When it doesn't work, it crashes R completely
and so I ha