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

GRASS GIS trac at osgeo.org
Mon Nov 19 08:49:46 PST 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 veroandreo):

 Sorry for the delay, only now I have a windows machine to test... No, my
 students did not start R nor RStudio from OSGeo4W Shell (I forgot that
 detail).
 So, it works, but only if I move to Documents folder, for example. If I
 try to start GRASS from R in C disk, I get the following:

 {{{
 > library(rgrass7)
 Loading required package: sp
 Loading required package: XML
 GRASS GIS interface loaded with GRASS version: (GRASS not running)
 > initGRASS(gisBase = "C:/OSGeo4W64/apps/grass/grass-7.4.2", gisDbase =
 "C:/Users/RETA/Documents/grassdata", location = "nc_spm_08_grass7", mapset
 = "user1", SG = "elevation", override=TRUE)
 Error in file(file, ifelse(append, "a", "w")) :
   no se puede abrir la conexión
 Además: Warning message:
 In file(file, ifelse(append, "a", "w")) :
   no fue posible abrir el archivo 'junk': Permission denied
 }}}

 Seems Windows does not grant me permission to write on my own C... how
 great :( During the course, the students hit this issue many times.

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



More information about the grass-dev mailing list