From ripley at stats.ox.ac.uk  Wed Oct 11 09:15:25 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 11 Oct 2006 08:15:25 +0100 (BST)
Subject: [Rd] possible bug? (PR#9285)
In-Reply-To: <20061010165825.A7CEAA26A@slim.kubism.ku.dk>
References: <20061010165825.A7CEAA26A@slim.kubism.ku.dk>
Message-ID: <Pine.LNX.4.64.0610110807360.8304@gannet.stats.ox.ac.uk>

This is a problem in a (non-CRAN) contributed package, and so a misuse of 
R-bugs: please do read the R FAQ and posting guide.

Binary versions of packages need to be matched to versions of R: almost 
certainly this needs to be re-installed from the sources (which it seems 
that author is not distributiing).

Note that the 'current' version of the packages is said on its webpage to 
be from July 2003, but the package was built under R 2.0.1 in July 2005.


On Tue, 10 Oct 2006, richj at essex.ac.uk wrote:

> =20
>
> =20
>
> I use the FEAR package available from=20
>
> =20
>
> http://www.clemson.edu/economics/faculty/wilson/
>
> =20
>
> which works perfectly in Rv2.2.0; after installing from a local zip and
> loading I find:
>
> =20
>
> USING R version 2.2.0
>
> =20
>
>> local({pkg <- select.list(sort(.packages(all.available =3D TRUE)))
>
> + if(nchar(pkg)) library(pkg, character.only=3DTRUE)})
>
> Loading required package: KernSmooth
>
> KernSmooth 2.22 installed
>
> Copyright M. P. Wand 1997
>
> FEAR (Frontier Efficiency Analysis with R) 0.913 installed
>
> Copyright Paul W. Wilson 2005
>
>>
>
> =20
>
> and everything works well.
>
> =20
>
> On the other hand with R version 2.4.0, although the package installs
> properly from the local zip, it does not load correctly (the same
> problem occurs with the patched version of 2.4.0).
>
> =20
>
> =20
>
> USING R version 2.4.0
>
> =20
>
>> local({pkg <- select.list(sort(.packages(all.available =3D TRUE)))
>
> + if(nchar(pkg)) library(pkg, character.only=3DTRUE)})
>
>> utils:::menuInstallLocal()
>
> package 'FEAR' successfully unpacked and MD5 sums checked
>
> updating HTML package descriptions
>
>> local({pkg <- select.list(sort(.packages(all.available =3D TRUE)))
>
> + if(nchar(pkg)) library(pkg, character.only=3DTRUE)})
>
> Loading required package: KernSmooth
>
> KernSmooth 2.22 installed
>
> Copyright M. P. Wand 1997
>
> Error in dyn.load(x, as.logical(local), as.logical(now)) :=20
>
>        unable to load shared library
> 'C:/PROGRA~1/R/R-24~1.0/library/FEAR/libs/FEAR.dll':
>
>  LoadLibrary failure:  The specified procedure could not be found.
>
> Error in library(pkg, character.only =3D TRUE) :=20
>
>        .First.lib failed for 'FEAR'
>
> =20
>
> =20
>
> =20
>
> Is this a bug in R version 2.4.0 and is there a fix?
>
> =20
>
> =20
>
> =20
>
> *************************
>
> Prof J Richmond
>
> Department of Economics
>
> University of Essex
>
> Colchester CO4 3SQ
>
> United Kingdom
>
> Tel: +44-(0)1206-872769
>
> FAX: +44-(0)1206-872724
>
> email: richj at essex.ac.uk
>
> *************************
>
> =20
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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] possible bug? (PR#9285)
Prof Brian Ripley