[R-sig-Geo] Error: package/namespace load failed for 'sp'

Roger Bivand Roger.Bivand at nhh.no
Wed Feb 14 13:39:13 CET 2007


On Wed, 14 Feb 2007, Luis Ridao Cruz wrote:

> R-sig-geo help,
> 
> I'm having problems (actually a workmate)
> to run the sp package.
> 
> When I execute library(sp) I get the following error message:
> 
> Error in importIntoEnv(impenv, impnames, ns, impvars) : 
>         object 'panel.number' is not exported by 'namespace:lattice'
> Error: package/namespace load failed for 'sp'
> 
> The package has been install from the repositories and manually
> from zip files. But no matter the way we do it R fails.
> In addtion we insatlle R anew.
> 
> As said it's working on my machine  but not on my workmate session.

A full sessionInfo() please, this depends on versions of lattice and 
sp. panel.number is exported by lattice in R >= 2.4, so I think your 
workmate has an earlier version of lattice in the package search path 
despite running a later R. 

> 
> Thanks in advance
> 
> > version
>                _                           
> platform       i386-pc-mingw32             
> arch           i386                        
> os             mingw32                     
> system         i386, mingw32               
> status                                     
> major          2                           
> minor          4.1                         
> year           2006                        
> month          12                          
> day            18                          
> svn rev        40228                       
> language       R                           
> version.string R version 2.4.1 (2006-12-18)
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
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-sig-Geo mailing list