浏览代码

env.bat: set RStudio temporarily to %PATH% if it exists (trunk, https://trac.osgeo.org/grass/changeset/66767, https://trac.osgeo.org/grass/changeset/66768, https://trac.osgeo.org/grass/changeset/66769)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@66837 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 年之前
父节点
当前提交
2a2624e6bb
共有 2 个文件被更改,包括 11 次插入1 次删除
  1. 9 0
      mswindows/env.bat
  2. 2 1
      mswindows/external/rbatch/README.grass

+ 9 - 0
mswindows/env.bat

@@ -18,3 +18,12 @@ set GEOTIFF_CSV=%GISBASE%\share\epsg_csv
 set PATH=%GISBASE%\msys\bin;%PATH%
 set PATH=%GISBASE%\extrabin;%PATH%
 set PATH=%GISBASE%\bin;%PATH%
+
+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 temporarily to %PATH%
+
+cd %GISBASE%\extrabin
+R path

+ 2 - 1
mswindows/external/rbatch/README.grass

@@ -43,4 +43,5 @@ svn checkout http://batchfiles.googlecode.com/svn/trunk/
 
 at svn-revision 144 (2014-04-30)
 
---
+--
+