[R] reinforce library to re-load

Doran, Harold HDoran at air.org
Tue Jul 3 21:35:11 CEST 2007


I think you want to use detach() 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Weiwei Shi
> Sent: Tuesday, July 03, 2007 3:27 PM
> To: r-help at stat.math.ethz.ch
> Cc: R-devel at stat.math.ethz.ch
> Subject: [R] reinforce library to re-load
> 
> Hi,
> 
> I am wondering if there is a parameter in library() so that 
> it can reinforce package to be reloaded. It helps when you 
> test your modified package by yourself. Otherwise, my way is 
> to re-start Rgui.
> 
> (by reading ?library, I understand this option is not 
> implemented) "...Both functions check and update the list of 
> currently loaded packages and do not reload a package which 
> is already loaded.
> (Furthermore, if the package has a name space and a name 
> space of that name is already loaded, they work from the 
> existing names space rather than reloading from the file system.)"
> 
> Thanks.
> 
> --
> Weiwei Shi, Ph.D
> Research Scientist
> GeneGO, Inc.
> 
> "Did you always know?"
> "No, I did not. But I believed..."
> ---Matrix III
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>



More information about the R-help mailing list