[R] Load and unload libraries
Rita Ribeiro
rita at liacc.up.pt
Tue Apr 1 11:38:16 CEST 2003
Hi all,
I'm having some problems in loading libraries. I wonder if anyone can
help me with this.
I have created two libraries with the same name at different locations.
I want to use both of them, one at a time.
So I do:
library(mylib,lib.loc1)
(....)
detach('package:mylib')
library(mylib,lib.loc2)
The problem is that, after this, the used library is still the one first
loaded.
Isn't detach command enough?
Thanks in advance,
Rita
--
Rita Ribeiro <rita at liacc.up.pt>
More information about the R-help
mailing list