[R] new package error message

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 10 08:57:14 CEST 2006

On Tue, 9 May 2006, Jason Liao wrote:

> My coauthor made a new R package GeneLogit (100% R code) which installs
> ok on R 2.3 on Windows. But when I type
> library(GeneLogit)
> it gave the error message
> Error in library(GeneLogit) : 'GeneLogit' is not a valid package --
> installed < 2.0.0?
> It runs on R 1.9.0 just fine. It seems that others have encountered
> same problem but no solution is found by googling

In every case I have ever seen mentioned, the solution was to install the 
package properly by R CMD INSTALL and not by a manual kludge.

The message is given if the installation lacks the metadata in the Meta 
subdirectory which INSTALL creates.

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