Re: [R] write a library under 2.0.1 version

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 02 Mar 2005 - 04:40:20 EST

On Tue, 1 Mar 2005 marta@statistica.it wrote:

> Hi there,
> I had written a library under R 1.9.0 and now I would like to import that
> library under R 2.0.1
> Apparently it does not work; I can install the package, but when I try to
> read it the error is the following:
>
> Error in library(compvar) : 'compvar' is not a valid package -- installed
> < 2.0.0
>
> I have checked other libraries in R 2.0.1 and I noticed that there is a
> new folders (Meta) that were not present under R 1.9.1 as well as a file
> (MD5). Moreover, under R folders there are files with .rdx and .rdb
> extensions that were not present before.
>
> I was wondering how I can built these files for the library to be
> importable under 2.0.1 version.

You install the package with R CMD INSTALL, just as was documented for 1.9.1. See the `Writing R Extensions' and `R Installation and Administration' manuals.

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Mar 02 06:21:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:39 EST