James W. MacDonald
2004-Oct-19 15:41 UTC
[R] Question about version argument of require() and library()
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, TIA, Jim -- James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109
Prof Brian Ripley
2004-Oct-19 16:05 UTC
[R] Question about version argument of require() and library()
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