I'm not sure what causes the error on the netbook. Is this a recent
enough version of Rcpp ?
Also, for the record the code below can now (well with the svn version)
be written in a more sugary way (See also slide 25 of
http://slidesha.re/cDIfp0)
SEXP foo( SEXP x ){
NumericMatrix input( x )
Thanks for the link Dirk. Actually, your link induced me to try to reproduce
the error on a different computer and i could not.
For some reason, the code bugs (repeatedly) on a small atom-based net-book i
use to program but not on my other computers (although they all run ubuntu
10.04& R2.12).