Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.61.0503011738370.17424@gannet.stats>
Date: 2005-03-01T17:40:20Z
From: Brian Ripley
Subject: write a library under 2.0.1 version
In-Reply-To: <4248.155.198.41.106.1109690597.squirrel@ensim-2.playnet.it>

On Tue, 1 Mar 2005 marta at 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 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