Skip to content

library loading errors (PR#9317)

3 messages · ljlayne at unm.edu, Roger Bivand, Larry Layne

#
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:
package 'tripack' successfully unpacked and MD5 sums checked
updating HTML package descriptions
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'
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
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
#
On Wed, 25 Oct 2006 ljlayne at unm.edu wrote:

            
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.

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