Displaying 1 result from an estimated 1 matches for "examplepackage".
2007 Apr 13
1
how to control which version of a package library() installs?
...fferent versions of a
package in one R session? -- I don't seem to able to simply detach the
package and then load a different version from a different library location.
$ R
[...startup info...]
> # only version we currently know about is in the standard library
> .find.package("ExamplePackage")
[1] "c:/R/R-2.4.1/library/ExamplePackage"
> # load a version from a different library e:/devinst
> library(ExamplePackage, lib.loc="e:/devinst")
> # and check we've got the right version ... yes
> system.file(package="ExamplePackage")
[1] &qu...