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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to