[GRASS-user] R and RStudio in winGRASS - testing welcome

Helmut Kudrnovsky hellik at web.de
Sun Nov 8 08:46:47 PST 2015


hi,

in 

New Revision: 66766

Modified:
   grass/trunk/mswindows/env.bat
Log:
env.bat: fix R temporarily set to %PATH% in windows

and

New Revision: 66768

Modified:
   grass/trunk/mswindows/env.bat
Log:
env.bat: set RStudio temporarily to %PATH% if it exists

I've modified winGRASS standalone in that way that R and RStudio can be
invoked in the winGRASS terminal/command line during a GRASS session.

it should work like:

/Cleaning up temporary files...
Starting GRASS GIS...
WARNING: Concurrent mapset locking is not supported on Windows

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 7.1.svn (r66762)
GRASS GIS homepage:                      http://grass.osgeo.org
This version running through:            Command Shell
(C:\windows\system32\cmd.
exe)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

Launching <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

# start the R command line
C:\Users\myricaria>R

R version 3.2.1 (2015-06-18) -- "World-Famous Astronaut"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> q()
Save workspace image? [y/n/c]: n

# start the R GUI
C:\Users\xxxx>R GUI

# start RStudio
C:\Users\xxxx>rstudio/

testing one o the upcoming GRASS GIS 7.1 (development, daily builds) [1]
very welcome.

[1] http://wingrass.fsv.cvut.cz/grass71/




-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/R-and-RStudio-in-winGRASS-testing-welcome-tp5235108.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list