[GRASS-SVN] r69910 - grass/trunk/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Nov 25 03:01:49 PST 2016


Author: hellik
Date: 2016-11-25 03:01:49 -0800 (Fri, 25 Nov 2016)
New Revision: 69910

Modified:
   grass/trunk/mswindows/osgeo4w/env.bat.tmpl
Log:
set R_USER if %USERPROFILE%\Documents\R\ exists to catch most common cases of private R libraries in windows - step 1 to prepare OSGeo4w-winGRASS for the same R-GRASS-coupling as standalone winGRASS

Modified: grass/trunk/mswindows/osgeo4w/env.bat.tmpl
===================================================================
--- grass/trunk/mswindows/osgeo4w/env.bat.tmpl	2016-11-25 08:13:39 UTC (rev 69909)
+++ grass/trunk/mswindows/osgeo4w/env.bat.tmpl	2016-11-25 11:01:49 UTC (rev 69910)
@@ -22,3 +22,6 @@
 REM set RStudio temporarily to %PATH% if it exists
 
 IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set PATH=%PATH%;%ProgramFiles%\RStudio\bin
+
+REM set R_USER if %USERPROFILE%\Documents\R\ exists to catch most common cases of private R libraries
+IF EXIST "%USERPROFILE%\Documents\R\" set R_USER=%USERPROFILE%\Documents\
\ No newline at end of file



More information about the grass-commit mailing list