[R] dyn.load a package for dev purposes?
Tom H
tom at limepepper.co.uk
Fri May 8 08:45:59 CEST 2009
Hi,
I don't seem to be able to get a package to detach and reload in my
debugging R session once I have already loaded it.
R CMD REMOVE -l /usr/lib64/R/library quantmod
R CMD build /home/user1/eclipse/workspace/quantmod/;
R CMD INSTALL -l /usr/lib64/R/library quantmod_0.3-7.tar.gz
in R...
detach(package:mypackage1)
library(mypackage1)
doStuffFromMypackage1("something");
if I reload the session, then the changes are reflected. I noticed the
dyn.load function, is there something there I can do to reload the
package without restarting the session?
Thanks,
#T
More information about the R-help
mailing list