[GRASSweb-list]markus: web/statsgrass grass_r_insthints.html,1.9,1.10

grass at intevation.de grass at intevation.de
Thu Dec 19 13:46:23 EST 2002


Author: markus

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

Modified Files:
	grass_r_insthints.html 
Log Message:
R/Windows/GRASS improved

Index: grass_r_insthints.html
===================================================================
RCS file: /grassrepository/web/statsgrass/grass_r_insthints.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- grass_r_insthints.html	27 Nov 2002 09:05:10 -0000	1.9
+++ grass_r_insthints.html	19 Dec 2002 18:46:21 -0000	1.10
@@ -48,7 +48,7 @@
 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
+  /usr/bin/R CMD INSTALL --configure-args=--grass5=/usr/local/bin/grass5 GRASS_0.1-9.tar.gz
 
 
 <b>UNINSTALLATION on UN*X compilant SYSTEMS (Linux etc)</b>
@@ -71,27 +71,35 @@
    (e.g. <a href=http://www.activestate.com/Products/ActivePerl/Download.html>ActivePerl</a>)
 
 In general winGRASS under Cygwin is able to talk to R/MS-Windows (<a href=http://cran.at.r-project.org/bin/windows/contrib/rw-FAQ.html>R/Windows FAQ</a>)
+Currently ActivePerl seems to be the better choice for the installation.
 
 <a href=http://www.stats.ox.ac.uk/pub/Rtools/>R/Windows Installation hints</a>
 
-You have to add also c:\Perl\bin in the PATH variable of Windows. And also, to
-bypass Cygwin's path and make sure that MinGW and Perl are the first directories
-in the Cygwin path. So, one needs to modify the /etc/profile file AND any user 
-defined resource file in their home directory (i.e. a ~/.bash_profile that needed
-updating too - don't know why but it does).
-rw1060\bin - that can be put in the path too.
-
-When you installed R from rw1060.exe, you should have accepted the default
-install of source package installation files too.
+Preparation:
+ - You have to add c:\Perl\bin in the PATH variable of Windows
+ - To bypass Cygwin's path and make sure that MinGW and Perl are the first
+   directories in the Cygwin path. So, one needs to modify the /etc/profile 
+   file AND any user defined resource file in their home directory
+   (i.e. a ~/.bash_profile that needed updating too - don't know why but it 
+   does). If ~/.bash_profile is not present, make it a copy of /etc/profile
+ - rw1060\bin - that can be put in the path too (or rw1062\bin or ...)
+ - When you installed R from rw1060.exe, you should have accepted the default
+   install of source package installation files too.
 
-Then, installation of the GRASS/R interface:
- - Instead of '/usr/bin/R' use 'Rcmd'
- - See further command above (UN*X part).
+Then, installation of the GRASS/R interface (note, no 'CMD'!):
+ - Rcmd.exe INSTALL -c GRASS_version.tar.gz
+ 
+Or, for the compiled version:
+ - Rcmd.exe INSTALL --configure-args=--grass5=/usr/local/bin/grass5 GRASS_0.1-9.tar.gz
 
 NOTE 1: When using the GRASS/R 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.
+NOTE 2: If the temp directory contains spaces, R has a problem (see
+        tempfile() help page). You have to change the R temp dir (ADD how to
+        do that?)
+
+NOTE 3: We also succeeded to run R in GRASS on Cygwin in batch mode.
 
 
 <hr>





More information about the grass-web mailing list