From ljlayne at unm.edu  Wed Oct 25 22:18:15 2006
From: ljlayne at unm.edu (Larry Layne)
Date: Wed, 25 Oct 2006 14:18:15 -0600
Subject: [Rd] library loading errors (PR#9317)
In-Reply-To: <Pine.LNX.4.44.0610251940400.28949-100000@reclus.nhh.no>
References: <Pine.LNX.4.44.0610251940400.28949-100000@reclus.nhh.no>
Message-ID: <EB9281AF493437C79D5204C0@dhcp-129-24-91-249.unm.edu>

Some of the packages needed to be newer, as you indicated. Thanks.

--On Wednesday, October 25, 2006 7:49 PM +0200 Roger Bivand 
<Roger.Bivand at nhh.no> wrote:

> On Wed, 25 Oct 2006 ljlayne at unm.edu wrote:
>
>> Full_Name: Larry Layne
>> Version: 2.4.0
>> OS: MS Windows 2000
>> Submission from: (NULL) (129.24.91.249)
>>
>>
>> All of the following libraries loaded just fine in version 2.3.1:
>
> Not a bug. For sp in particular, please simply re-install the contributed
> package, and possibly others, because (as noted in NEWS) there are
> incompatibilities in the way classes are built in binary packages between
> R 2.3.1 and R 2.4.0:
>
> update.packages(checkBuilt=TRUE)
>
> It is possible that you also have an old version of the recommended
> package foreign in your library path - look at what:
>
> .libPaths()
>
> says and see if an old foreign isn't lurking ahead of the 2.4.0 one built
> with the binary you installed. Output of .sessionInfo() and .libPaths()
> may lead you to the root of the problem.
>
>>
>> > utils:::menuInstallLocal()
>> package 'tripack' successfully unpacked and MD5 sums checked
>> updating HTML package descriptions
>> > library(tripack)
>> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>>         unable to load shared library
>> 'C:/PROGRA~1/R/R-24~1.0/library/tripack/libs/tripack.dll':
>>   LoadLibrary failure:  The specified procedure could not be found.
>>
>> Error in library(tripack) : .First.lib failed for 'tripack'
>> > library(maptools)
>> Loading required package: foreign
>> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>>         unable to load shared library
>> 'C:/PROGRA~1/R/R-24~1.0/library/foreign/libs/foreign.dll':
>>   LoadLibrary failure:  The specified procedure could not be found.
>>
>> Error: package 'foreign' could not be loaded
>> > library(maps)
>> > library(geoR)
>> Loading required package: sp
>> Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source =
>> keep.source) :
>>         in 'sp' methods for export not found: bbox, coordinates,
>>         coordinates<-, coordnames, coordnames<-, gridded, polygons,
>> polygons<-, dimensions, [, transform, overlay, plot, recenter, spplot,
>> spsample, summary
>> Error: package 'sp' could not be loaded
>> >
>>
>> ______________________________________________
>> 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
>
>




[Rd] library loading errors (PR#9317)
Larry Layne