Skip to content
Back to formatted view

Raw Message

Message-ID: <4E8C588F.60501@uke.de>
Date: 2011-10-05T13:15:59Z
From: Eik Vettorazzi
Subject: "unload" a library while testing?
In-Reply-To: <CAGhLh6HexjkzQ-NStF1F81+UonLpf9NH2aqXOE+mjTuhrKysVg@mail.gmail.com>

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 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