[R] installing GRASS-R packages

2007-06-13 Thread Philippe LAGACHERIE
Hi,
I tried to install R packages required for the GRASS-R interface by 
using the following command (copied from 
http://www.geog.uni-hannover.de/grass/statsgrass/grass6_r_install.html):
/install.packages (c(sp, spgrass6,rgdal,maptools), dependencies 
=TRUE)/
rgdal package was installed successfully;
There were problems to find 'sp' and 'maptools' packages. The error 
message was /: dependencies 'sp' and 'maptools' are not available/.
I tried to download the packages from three different mirrors with the 
same result  ( http://cran.fr.r-project.org/ , 
http://cran.mirroring.de/, http://probability.ca/cran/ ) 
http://probability.ca/cran/
I then failed to download 'spgrass6' since it required to download first 
sp
can anybody tell me what mistake I did and how (where?) I can get these 
packages
Thank you very much by advance
http://probability.ca/cran/

-- 
Philippe Lagacherie
Ingénieur de Recherche HDR
Animateur équipe  Organisation Spatiale et Fonctionnement des Paysages 
Cultivés
INRA LISAH Montpellier
Tel +33 (0)4 99 61 25 78.
fax +33 (0)4 67 63 26 14
[EMAIL PROTECTED]

Attention changement d'adresse email 


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] installing GRASS-R packages

2007-06-13 Thread Roger Bivand
On Wed, 13 Jun 2007, Philippe LAGACHERIE wrote:

 Hi,
 I tried to install R packages required for the GRASS-R interface by
 using the following command (copied from
 http://www.geog.uni-hannover.de/grass/statsgrass/grass6_r_install.html):
 /install.packages (c(sp, spgrass6,rgdal,maptools), dependencies
 =TRUE)/
 rgdal package was installed successfully;
 There were problems to find 'sp' and 'maptools' packages. The error
 message was /: dependencies 'sp' and 'maptools' are not available/.
 I tried to download the packages from three different mirrors with the
 same result  ( http://cran.fr.r-project.org/ ,
 http://cran.mirroring.de/, http://probability.ca/cran/ )
 http://probability.ca/cran/
 I then failed to download 'spgrass6' since it required to download first
 sp
 can anybody tell me what mistake I did and how (where?) I can get these
 packages

The note in the OSGeo Journal:

http://www.osgeo.org/files/journal/final_pdfs/OSGeo_vol1_GRASS-R.pdf

is more recent, although the note you accessed is accurate, and says just:

install.packages(spgrass6, dependencies = TRUE)

should be enough, because all the packages are on CRAN, and current sp 
and maptools are on at least http://cran.fr.r-project.org.

Topics like this are best raised on the R-sig-geo list, or perhaps on the 
GRASS STATGRASS list. It is also good practice to say what platform you 
are on (OS, R version, etc.) as reported by sessionInfo().

 Thank you very much by advance
 http://probability.ca/cran/



-- 
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: [EMAIL PROTECTED]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.