Re: [Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session

2013-05-30 Thread Dirk Eddelbuettel
On 30 May 2013 at 17:55, Anwar Ludin wrote: | Yes I noticed that RStudio was restarting the session whenever you | rebuild the package. I guess RStudio does this in order to make sure | that the session is clean. I am however a bit worried from an RStudio | end-user's perspective because the pa

Re: [Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session

2013-05-30 Thread Anwar Ludin
Hi Dirk, Yes I noticed that RStudio was restarting the session whenever you rebuild the package. I guess RStudio does this in order to make sure that the session is clean. I am however a bit worried from an RStudio end-user's perspective because the package can be loaded/unloaded using the pa

Re: [Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session

2013-05-30 Thread Dirk Eddelbuettel
Anwar, On 30 May 2013 at 16:59, Anwar Ludin wrote: | I am experiencing a strange behaviour when unloading/reloading a custom | package written using Rcpp. The initial load works perfectly and I can | use the package as intended. I my experience you will be best off simply by restarting R. Whe

Re: [Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session

2013-05-30 Thread Anwar Ludin
I've attached the source package to this mail. On 05/30/2013 04:59 PM, Anwar Ludin wrote: Hello, I am experiencing a strange behaviour when unloading/reloading a custom package written using Rcpp. The initial load works perfectly and I can use the package as intended. library(RiskCetera