Skip to content

Error: package/namespace load failed for 'sp'

2 messages · Luis Ridao Cruz, Roger Bivand

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

Thanks in advance
_                           
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)
#
On Wed, 14 Feb 2007, Luis Ridao Cruz wrote:

            
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.