[R] unload a library while testing?

2011-10-05 Thread Rainer M Krug
Hi I am testing a package, and after I make changes, I have to close R and open R again to load the new version (same version number) of the package I am working on. So my question: is there a function which removes a package, i.e library(myPackage) Package is loaded unlibrary(myPackage)

Re: [R] unload a library while testing?

2011-10-05 Thread Eik Vettorazzi
Hi Rainer, for better or worse unlibrary actually is done by detach in R, ?detach #first example cheers Am 05.10.2011 15:04, schrieb Rainer M Krug: Hi I am testing a package, and after I make changes, I have to close R and open R again to load the new version (same version number) of the

Re: [R] unload a library while testing?

2011-10-05 Thread Ista Zahn
Hi Rainer, On Wed, Oct 5, 2011 at 9:04 AM, Rainer M Krug r.m.k...@gmail.com wrote: Hi I am testing a package, and after I make changes, I have to close R and open R again to load the new version (same version number) of the package I am working on. So my question: is there a function which

Re: [R] unload a library while testing?

2011-10-05 Thread Rainer M Krug
On Wed, Oct 5, 2011 at 3:15 PM, Eik Vettorazzi e.vettora...@uke.de wrote: Hi Rainer, for better or worse unlibrary actually is done by detach in R, ?detach #first example cheers ARG I looked at detach, tried it, didn't work, because I overlooked the package: part. Thanks a lot,