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 > ARGHHHH I looked at detach, tried it, didn't work, because I overlooked the package: part. Thanks a lot, Rainer > > 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 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) > > > >> package is not loaded any more > > > > Thanks, > > > > Rainer > > > > > -- > Eik Vettorazzi > > Department of Medical Biometry and Epidemiology > University Medical Center Hamburg-Eppendorf > > Martinistr. 52 > 20246 Hamburg > > T ++49/40/7410-58243 > F ++49/40/7410-57790 > > -- > Pflichtangaben gemäß Gesetz über elektronische Handelsregister und > Genossenschaftsregister sowie das Unternehmensregister (EHUG): > > Universitätsklinikum Hamburg-Eppendorf; Körperschaft des öffentlichen > Rechts; Gerichtsstand: Hamburg > > Vorstandsmitglieder: Prof. Dr. Guido Sauter (Vertreter des Vorsitzenden), > Dr. Alexander Kirstein, Joachim Prölß, Prof. Dr. Dr. Uwe Koch-Gromus > > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug [[alternative HTML version deleted]]
______________________________________________ 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.