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

Dirk Eddelbuettel edd at debian.org
Thu May 30 18:12:11 CEST 2013


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 package can be loaded/unloaded using 
| the package selection functionality in RStudio,  and whenever the user 
| does that the R session crashes.

So you may have a bug there.   

Just move your package aside for a moment, and take a (small) published
package from CRAN and try loading/unloading it to test your views on general
principles independently of your packages.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list