[R] Quickie : unload library

2006-08-25 Thread Horace Tso
Dear list, I know it must be obvious and I did my homework. (In fact I've RSiteSearched with keyword remove AND library but got timed out.(why?)) How do I unload a library? I don't mean getting ride of it permanently but just to unload it for the time being. A related problem : I have some

Re: [R] Quickie : unload library

2006-08-25 Thread Sachin J
see ?detach Horace Tso [EMAIL PROTECTED] wrote: Dear list, I know it must be obvious and I did my homework. (In fact I've RSiteSearched with keyword remove AND library but got timed out.(why?)) How do I unload a library? I don't mean getting ride of it permanently but just to unload

Re: [R] Quickie : unload library

2006-08-25 Thread Sachin J
try detach(package:zoo) Sachin Horace Tso [EMAIL PROTECTED] wrote: Sachin, I did try that, ex detach(zoo) Error in detach(zoo) : invalid name detach(zoo) Error in detach(zoo) : invalid name But zoo has been loaded, sessionInfo() Version 2.3.1 (2006-06-01) i386-pc-mingw32

Re: [R] Quickie : unload library

2006-08-25 Thread Horace Tso
Sachin, I did try that, ex detach(zoo) Error in detach(zoo) : invalid name detach(zoo) Error in detach(zoo) : invalid name But zoo has been loaded, sessionInfo() Version 2.3.1 (2006-06-01) i386-pc-mingw32 attached base packages: [1] methods datasets stats tcltk utils

Re: [R] Quickie : unload library

2006-08-25 Thread Prof Brian Ripley
On Fri, 25 Aug 2006, Horace Tso wrote: Dear list, I know it must be obvious and I did my homework. (In fact I've RSiteSearched with keyword remove AND library but got timed out.(why?)) Probably because the site is offline. How do I unload a library? I don't mean getting ride of it

Re: [R] Quickie : unload library

2006-08-25 Thread Horace Tso
Aah, that works. The missing package:... H. Sachin J [EMAIL PROTECTED] 8/25/2006 1:16 PM try detach(package:zoo) Sachin Horace Tso [EMAIL PROTECTED] wrote: Sachin, I did try that, ex detach(zoo) Error in detach(zoo) : invalid name detach(zoo) Error in detach(zoo) : invalid name

Re: [R] Quickie : unload library

2006-08-25 Thread Sarah Goslee
Hi, There are two ways that I know of: detach(package:zoo) or use detach() with the number of that package's place in the search list. library(zoo) search() [1] .GlobalEnvpackage:zoo package:methods [4] package:graphics package:grDevices package:utils [7] package:datasets

Re: [R] Quickie : unload library

2006-08-25 Thread Gabor Grothendieck
You likely want the answer that Sarah has already given but in addition you might also want to look at the thread below, the point being that detaching a package still leaves portions: https://www.stat.math.ethz.ch/pipermail/r-help/2006-July/109056.html On 8/25/06, Sarah Goslee [EMAIL