[STATSGRASS] problems with installing maptools package (due to Foreign package)

Daniel McInerney daniel.mcinerney at ucd.ie
Wed Oct 31 14:48:26 EDT 2007


Hi Giovanni,
The current version of foreign on CRAN is 0.8-23,
which depends on R >= 2.6.0
You could try and install a previous version of
foreign either (0.8-22 or 0.8-21) available under
the Archived Packages on the cran.r-project website.

If you don't want to compile R 2.6, you could add
the sid repository to your apt-sources. You should be
able to safely build for lenny using the sid sources.

Hope this helps.
regards,

Daniel.

G. Allegri wrote:
> I'm configuring my new debian lenny, and as I was installing R and the
> related spatial packages I've faced some problems with maptools
> package setup.
> I've installed R via apt, from the debian official repositories. The R
> versione installed is 2.5.1.
> Then I've run the usual commands:
> 
> install.packages(c("sp", "maptools", "rgdal"), dependencies=TRUE).
> (Are these packages still enough for gstat?)
> 
> Everything seems to have gone ok for sp and rgdal (having previously
> "apt-get-installed" libgdal1-dev and the other 27 Mb of
> dependencies!!!)
> The problem has come with maptools setup which har raised an error
> when trying to load "foreign" package for lazy loading. The exit error
> said
> 
> "This is R 2.5.1, package 'foreing' needs >= 2.6.0"
> 
> What should I do? It seems there's an inconcistency between the
> packaged versions, but I can I upgrade to 2.6 *without* compiling it?
> 
> Thanks in advance,
> Giovanni
> 
> _______________________________________________
> statsgrass mailing list
> statsgrass at grass.itc.it
> http://grass.itc.it/mailman/listinfo/statsgrass
> 




More information about the grass-stats mailing list