From ripley at stats.ox.ac.uk  Fri Apr 27 19:52:03 2007
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 27 Apr 2007 18:52:03 +0100 (BST)
Subject: [Rd] R-2.5.0 install
In-Reply-To: <m2fy6ln40n.fsf@ziti.fhcrc.org>
References: <46320799.8010606@ucl.ac.uk> <4632131B.2020607@mail.nih.gov>
	<m21wi5ojo5.fsf@ziti.fhcrc.org> <m2fy6ln40n.fsf@ziti.fhcrc.org>
Message-ID: <Pine.LNX.4.64.0704271839510.25586@gannet.stats.ox.ac.uk>

On Fri, 27 Apr 2007, Seth Falcon wrote:

> Update:
>
> Seth Falcon <sfalcon at fhcrc.org> writes:
>> And for me it does.
>
> Almost.  With a clean package library, I end up with an error
> installing matchprobes because library.dynam can't find a shared
> library called matchprobes_1.8.0.  Since other packages that have
> native code are installing with version ok, I suspect this is a
> fixable bug in matchprobes.

Indeed it is.  The package has

.First.lib <- function(lib, pkgname, where) {
   ## load the compiled code
   library.dynam(pkgname, pkgname, lib)

and that should be

   library.dynam("matchprobes", pkgname, lib)

(That's not an uncommon mistake, BTW: EBarrays, puma and twilight of BioC 
seem to share it.)

Also, .First.lib will only ever tbe called with two args, and 'where' is 
unused.

BTW, I have BioC-1.9 and BioC-2.0 in separate library trees rather than 
use versioned installs: although the idea and code for the latter came 
from the BioC group, they are little used and have some rough edges.

-- 
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



[Rd] R-2.5.0 install
Prof Brian Ripley