Dear Dirk On Sat, Aug 30, 2014 at 1:46 PM, Dirk Eddelbuettel <e...@debian.org> wrote:
> > On 30 August 2014 at 09:14, Cipollini Fabrizio wrote: > | From time to time, I use R to develop my own packages. > | For testing purposes, I need frequently > | ***to detach the previous version and attach a more recent built without > | leaving the R session***. > > This has nothing to do with Rcpp. > I figured that but since I tested only Rcpp, I searched the support of Rcpp experts before any other ... > The most reliable way is to ... start fresh sessions. For which littler and Rscript are useful, so I something like the following > all the time: to test a given package, I load it (option -l or --packages, > takes a comma-sep. list) and exectute a function to test (option -e, or > --eval) via littler's r: > > edd@max:~$ r -l RcppZiggurat -e 'print(zrnorm(5))' > [1] -1.1409054 0.8759027 -0.1969075 -0.1245053 0.2695581 > edd@max:~$ > > Next time I run this I know I have a fresh session. RStudio reloads the > current session, and package, for you too. > Ok. I take the point. Thanks for your help and you terrific job with R. Fabrizio Cipollini
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel