=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]]
On Tue, 10 Oct 2006 richj at essex.ac.uk wrote:> =20Not a bug. Please contact the author of the non-CRAN, binary-only package, as requested in FAQ 9.2: "Bug reports on contributed packages should be sent first to the package maintainer, and only submitted to the R-bugs repository by package maintainers, mentioning the package in the subject line."> > =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 >-- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no
On 10/10/2006 12:58 PM, richj at essex.ac.uk wrote:> =20 > > =20 > > I use the FEAR package available from=20 > > =20 > > http://www.clemson.edu/economics/faculty/wilson/You should contact Prof. Wilson-- this is a bug in his package, not in R. Perhaps all that is needed is for it to be re-built in 2.4.0, but you'll need the package source for that. As far as I could see (in a very cursory examination) this is not available on his web site. Duncan Murdoch> > =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
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
Maybe Matching Threads
- Regarding {KernSmooth} - Can a package on CRAN have non GPL copyrights?
- Problem with loading library-ks
- R-3.4.0 and recommended packages
- longer object length, is not a multiple of shorter object length in: kappa * gcounts
- bandwidths for bivariate density estimation