[GRASSweb-list]markus: web/statsgrass grass_r_insthints.html,NONE,1.1 index.html,1.12,1.13 grass_r_insthints.txt,1.2,NONE

grass at intevation.de grass at intevation.de
Thu Oct 31 09:16:00 EST 2002

Author: markus

Update of /grassrepository/web/statsgrass
In directory doto:/tmp/cvs-serv14611

Modified Files:
Added Files:
Removed Files:
Log Message:
extended, but not yet finished for MS-Windoof

--- NEW FILE: grass_r_insthints.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   <DEFANGED_meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <title>INSTALLATION OF GRASS/R interface</title>
<body text="#000000" bgcolor="#FFFFFF">

<h1>INSTALLATION OF GRASS/R interface</h1>

Package: <a href=index.html>GRASS/R interface</a>

Author: Interface functions by Roger Bivand <Roger.Bivand at nhh.no>, wrapper
        and helper functions modified from various originals by interface
Description: Interface between GRASS geographical information system and R,
        based on starting R from within the GRASS environment and chosen
        LOCATION and MAPSET. Wrapper and helper functions are provided for
        a range of R functions to match the interface metadata structures.

As an interesting option, <a href=http://cran.r-project.org/src/other/ess/>ESS</a> (emacs speaks statistics user interface)
works both on UN*X based and MS-windows based systems.


<h2>A) INSTALLATION on UN*X compilant SYSTEMS (Linux etc)</h2>

There are a number of configure flags that may be used to help
the R install script find the GRASS libraries: they are

        --configure-args=--grass5= (full path to your grass5 script)
        --configure-args=--gmake5= (full path to your gmake5 script)
        --configure-args=--zinclude= (full path to directory with zlib.h)
        --configure-args=--zlib= (full path to directory with libz.a)
        --configure-args=--interp (don't build compiled interface)

When GRASS lives in the standard /usr/local/grass5/ directory,
installation is simply done with:

  /usr/bin/R CMD INSTALL -c GRASS_version.tar.gz

(adjust the path to R and the version number of the interface)

If you have installed GRASS in another directory, you should specify
the "grass5" startup script directly during installation (example):

  /usr/bin/R CMD INSTALL --configure-args=--grass5=/opt/ssi/bin/grass5 GRASS_0.1-9.tar.gz

UNINSTALLATION on UN*X compilant SYSTEMS (Linux etc)

The following command uninstalls the GRASS/R interface (GRASS remains
untouched of course):



<h2>B) INSTALLATION on MS-Windows SYSTEM (XP, 2000 etc)</h2>

 - use either 'winGRASS with generic disply driver' (no Xserver needed) or 'winGRASS with XServer support'
 - <a href=http://cran.at.r-project.org/>R for MS-Windows</a>
 - GRASS/R interface from Roger Bivand (there is one version running both
   under UN*X and MS-Windows)

In general GRASS under Cygwin will connect to R for MS-Windows.
For the installation of R software please refer to the R web site.

Installation of the GRASS/R interface:
   1. ADD
   2. ADD

NOTE 1: When using the interface, ignore (if appearing) strange error messages
which are generated by the GRASS/R interface.

NOTE 2: We also succeeded to run R in GRASS on Cygwin in batch mode.

[Useful link? http://www.stats.ox.ac.uk/pub/Rtools/]

<!-- FOOTER -->
<DIV ALIGN=right>&copy; 2001-2002 GRASS Development Team<br>
<a href="mailto:weblist at grass.itc.it">Comments</a> about this page | Back <a href=index2.html>HOME</a><br>
<i>Last change:
$Date: 2002/10/31 14:15:58 $


Index: index.html
RCS file: /grassrepository/web/statsgrass/index.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- index.html	30 Oct 2002 11:14:17 -0000	1.12
+++ index.html	31 Oct 2002 14:15:58 -0000	1.13
@@ -74,7 +74,7 @@
 <font face="Arial, Helvetica"><font size=+0><a href="http://cran.r-project.org/src/contrib/Devel/">GRASS-R
 interface</a> (<a href="http://reclus.nhh.no/R/GRASS/">version archive</a>).
-See here for <a href="grass_r_insthints.txt">Installation hints</a></font></font></li>
+See here for <a href="grass_r_insthints.html">Installation hints</a></font></font></li>

--- grass_r_insthints.txt DELETED ---

More information about the grass-web mailing list