[R] Question about version argument of require() and library()

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 19 18:05:42 CEST 2004


Did you install this package with --with-package-versions?  The `version'
argument picks up a particular versioned installed, not an ordinary
install of the right version.

We have rather little documentation on versioned installs.

On Tue, 19 Oct 2004, James W. MacDonald wrote:

> As far as I know, the following should work. Can anybody tell me 
> if/where I am going wrong?
> 
>  > packageDescription("KEGG", field="Version")
> [1] "1.6.4"
>  > require(KEGG, version="1.6.4")
> Loading required package: KEGG
> [1] FALSE
> Warning message:
> There is no package called 'KEGG', version 1.6.4 in: library(package, 
> character.only = TRUE, logical = TRUE, warn.conflicts = warn.conflicts,

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list