[GRASS-dev] [GRASS GIS] #3688: impossible to start grass from Rstudio in Windows

GRASS GIS trac at osgeo.org
Fri Nov 2 12:48:55 PDT 2018


#3688: impossible to start grass from Rstudio in Windows
--------------------------+-------------------------
  Reporter:  veroandreo   |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.4.3
 Component:  Default      |    Version:  7.4.2
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MSWindows
--------------------------+-------------------------

Comment (by hellik):

 Replying to [comment:8 rsbivand]:
 >From the latest upgrade of OSGeo4W, you need to start RStudio from the
 command line in the OSGeo4W console, say using "C:/Program
 Files/RStudio/bin/rstudio.exe" - with the quotation marks because of the
 space in the path.

 I don't think that starting Rstudio changed with the latest upgrade of
 OSGeo4W.

 It's implemented to start RStudio within the winGRASS-standalone-console
 as well as in the OSgeo4W-winGRASS-console (within a GRASS session) for
 many years now:

 https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/osgeo4w/env.bat.tmpl#L22

 {{{
 22      REM set RStudio temporarily to %PATH% if it exists
 23
 24      IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set
 PATH=%PATH%;%ProgramFiles%\RStudio\bin
 }}}

 but it isn't yet implemented in the OSGeo4W-console itself to start it
 there outside a GRASS session.

 OTOH it's implemented now for a year or so to start R/RGui in the OSGeo4W-
 console itself outside of a GRASS session by

 https://download.osgeo.org/osgeo4w/x86_64/release/grass/grass/setup.hint

 {{{
 sdesc: "GRASS GIS"
 ldesc: "Geographic Resources Analysis Support System (GRASS GIS)"
 category: Desktop
 requires: liblas avce00 gpsbabel gs gdal-python matplotlib msvcrt
 msvcrt2012 msvcrt2013 msvcrt2015 iconv libtiff gdal proj pdcurses zlib
 fftw libpng python-wx python-numpy python-pil pyopengl cairo psycopg2
 rbatch
 maintainer: MartinLanda
 curr: 7.4.2-1
 prev: 7.4.1-3
 }}}

 via rbatch.

 if

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3688#comment:9>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list