Guys, I was wondering whether anyone experimented with Rcpp and static variables. I remember reading that Rcpp is essentially stateless. That makes sense. However I just run a piece of code that contains a static STL structure, surprisingly it seems that those static variables are preserved... The question is, can we use static variable to reliably preserve state between Rcpp calls? Cheers, //Giuseppe ________________________________ ---- MAKO ---- This email and any files transmitted with it are confide...{{dropped:17}}