[GRASSLIST:3478] Re: R and GRASS

Kinberger Michaela kinb at atlas.gis.univie.ac.at
Mon May 24 11:10:59 EDT 2004


Claudia Codeco wrote:

> Hi I can't install RODBC for use with GRASS/R , It keeps complaining 
> that it can't find the ODBC driver manager.
>
> My system is
>
> Linux Mandrake 9.2
> R 1.9
> UnixODBC 2.2.8
> postgresql 7.3.4

That´s what I made to install R with GRASS and Postgres

tar xvfz R-1.8.1.tgz
cd R-1.8.1/
./configure --prefix=/usr/local
make
make install

  
          install.packages("GRASS")
          install.packages("akima")
          install.packages("sgeostat")
          install.packages("spatial")
          install.packages("grid")
          install.packages("lattice")
          install.packages("modreg")

tar xvfz unixODBC-2.2.8.tar.gz
cd unixODBC-2.2.8/
./configure
make
make install
ldconfig

R CMD INSTALL RODBC_1.0-4.tar.gz
R CMD INSTALL Rdbi_1.0.2.tar.gz
*R CMD INSTALL RdbiPgSQL_1.0.2.tar.gz 
--configure-args='--with-pgsql-libraries=/usr/local/pgsql/lib 
--with-pgsql-includes=/usr/local/pgsql/include'
(I tried this after hours, and it worked. I had to unzip 
**RdbiPgSQL_1.0.2.tar.gz and read the configure options)*
R CMD INSTALL rgdal_0.2-5.tar.gz
R CMD INSTALL grasper_0.4-2.tar.gz


lg
michaela

-- 
Institut fuer Geographie und Regionalforschung
Universitaet Wien
Kartografie und Geoinformation

Departement of Geography and Regional Research
University of Vienna
Cartography and GIS

Universitaetstr. 7, A-1010 Wien, AUSTRIA

Tel: (+43 1) 4277 48646
Fax: (+43 1) 4277 48649
E-mail: kinb at atlas.gis.univie.ac.at

WWW: http://www.gis.univie.ac.at/karto




More information about the grass-user mailing list