[R-sig-Geo] installing spgrass6
Roger Bivand
Roger.Bivand at nhh.no
Mon Jun 13 20:32:56 CEST 2005
On Mon, 13 Jun 2005, Tim Keitt wrote:
> You need to set the CRAN option to point to a mirror. The latest
> versions of R don't provide a default mirror anymore.
Yes, if capabilities(c("tcltk", "X11")) are not TRUE, (like trying to
install on a server with no X11 display set), then there is no automatic
fallback from R trying to start tcltk to show a list of CRANs. The same
list is shown going to CRAN from http://www.r-project.org, so
install.packages(c("sp","rgdal"), dependencies=TRUE,
repos="http://cran.arsmachinandi.it/") or one of the other Italian
mirrors should get you there.
The help page for options says:
'repos': The URLs of the repositories for use by
'update.packages'. Defaults to 'c(CRAN="@CRAN@")', a value
that causes some utilities to prompt for a CRAN mirror. To
avoid this, use something like
'options(repos=c(CRAN="http://my.local.cran/R"))'.
Roger
>
> THK
>
> On Mon, 2005-06-13 at 19:51 +0200, Paolo Cavallini wrote:
> > Hi all.
> > Dunno whether this is the right place to ask, but I am trying to install
> > spgrass6 on an updated debian testing box, and I start with:
> >
> > install.packages(c("sp","rgdal"), dependencies=TRUE)
> >
> > but I get
> >
> > Avviso in install.packages(c("sp", "rgdal"), dependencies = TRUE) :
> > argument 'lib' is missing: using /usr/local/lib/R/site-library
> > --- Please select a CRAN mirror for use in this session ---
> > Xlib: connection to ":0.0" refused by server
> > Xlib: No protocol specified
> > Errore in inherits(x, "factor") : oggetto "res" non trovato
> >
> > Any hint would be greaatly appreciated.
> >
> > All the best.
> > pc
>
--
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