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

G. Allegri giohappy at gmail.com
Wed Oct 31 15:42:12 EDT 2007


Thanks Daniel,
I've momentaneously inserted the sid repositories to install r-base.
Everything seems to have gone right. I've gstat and spgrass6 back
again! :-)
It has given me troubles with some recomended packages (exit errors
for "tkrplot", "rgl" and "gam"), but things seem to work ok anyway...
I'll solve later whit these.

Bye,
Giovanni

2007/10/31, Daniel McInerney <daniel.mcinerney at ucd.ie>:
> 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