[GRASS-SVN] r69883 - grass/trunk/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 23 13:41:26 PST 2016


Author: hellik
Date: 2016-11-23 13:41:25 -0800 (Wed, 23 Nov 2016)
New Revision: 69883

Modified:
   grass/trunk/mswindows/env.bat
Log:
set R_USER if %USERPROFILE%\Documents\R\ exists to catch most common cases of private R libraries in windows

Modified: grass/trunk/mswindows/env.bat
===================================================================
--- grass/trunk/mswindows/env.bat	2016-11-23 20:47:12 UTC (rev 69882)
+++ grass/trunk/mswindows/env.bat	2016-11-23 21:41:25 UTC (rev 69883)
@@ -19,6 +19,9 @@
 
 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\
+
 REM set R temporarily to %PATH%
 
 IF EXIST "%ProgramFiles%\R\" ("%GISBASE%\extrabin\R" path)



More information about the grass-commit mailing list