Re: [R] R CMD REMOVE etc. query

2010-04-16 Thread Gabor Grothendieck
Assuming its the last package that you loaded detach() without arguments will detach it. On Thu, Apr 15, 2010 at 1:45 PM, Prof. John C Nash nas...@uottawa.ca wrote: Brian Ripley pointed out that the library() documentation (third screen, however) says that library() and require() check current

Re: [R] R CMD REMOVE etc. query

2010-04-15 Thread Prof. John C Nash
I've been working on a fairly complex package that is a wrapper for several optimization routines. In this work, I've attempted to do the following: - edit the package code foo.R - in a root terminal at the right directory location R CMD REMOVE foo R CMD INSTALL foo However,

Re: [R] R CMD REMOVE etc. query

2010-04-15 Thread Prof. John C Nash
Brian Ripley pointed out that the library() documentation (third screen, however) says that library() and require() check current environment to see if a package is loaded and only load if it is not present. I may have oversimplified, and clarifications welcome. But this is clearly NOT what I