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.  When I develop
with Rcpp, I tend to do my tests on the command-line using /usr/bin/r (from our
littler project) or Rscript.  You will notice that RStudio, when rebuilding /
reloading also restarts R.   There are some people who claim that you can
cleanly unload so your mileage may differ -- I prefer clean starts.

Dirk

-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to