[Rd] library loading errors (PR#9317)

Roger Bivand Roger.Bivand at nhh.no
Wed Oct 25 19:49:28 CEST 2006


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




More information about the R-devel mailing list