[Rd] how to control which version of a package library() installs?

Tony Plate tplate at acm.org
Sat Apr 14 00:10:30 CEST 2007


Tony Plate wrote:
> [snip]
 >
> Maybe the following sentence might be a useful addition to the "Details" 
> or "Notes" section of the help page for detach?:
>    To detach() and reattach() a package you will probably need to use 
> unloadNamespace("somePackage") after detach("package:somePackage")
> 

Better: "If you want to detach() and reattach() a package to get a 
different version of it, you will probably need to use 
unloadNamespace("somePackage") after detach("package:somePackage")"

-- Tony Plate



More information about the R-devel mailing list