浏览代码

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

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69910 15284696-431f-4ddb-bdfa-cd5b030d7da7
Helmut Kudrnovsky 8 年之前
父节点
当前提交
8a3b85f943
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mswindows/osgeo4w/env.bat.tmpl

+ 3 - 0
mswindows/osgeo4w/env.bat.tmpl

@@ -22,3 +22,6 @@ set FONTCONFIG_FILE=%GISBASE%\etc\fonts.conf
 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\