Anna Petrášová wrote > Hi, > > I am having troubles with running R in winGRASS. I installed R using this > tutorial: > http://www.r-bloggers.com/installing-rcpp-on-windows-7-for-r-and-c-integration/ > > In normal windows command line, it works. In GRASS session, I get this > when > running R: > > C:\Users\akratoc>R > '"\R.exe"' is not recognized as an internal or external command, > operable program or batch file. > > Any idea? > > Thank you > > Anna > > _______________________________________________ > grass-dev mailing list
> grass-dev@.osgeo > http://lists.osgeo.org/mailman/listinfo/grass-dev see http://grasswiki.osgeo.org/wiki/R_statistics#GRASS_7_Usage I've added the R-batch files to winGRASS standalone 2 years ago; it worked quite nicely Tested with a daily winGRASS7.1. the R-batch-files are in C:\Program Files (x86)\GRASS GIS 7.1.svn\extrabin and it's the same like your error: outside a winGRASS session it works: C:\Users\xxxxx>cd C:\Program Files (x86)\GRASS GIS 7.1.svn\extrabin C:\Program Files (x86)\GRASS GIS 7.1.svn\extrabin>R R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R ist freie Software und kommt OHNE JEGLICHE GARANTIE. Sie sind eingeladen, es unter bestimmten Bedingungen weiter zu verbreiten. Tippen Sie 'license()' or 'licence()' für Details dazu. R ist ein Gemeinschaftsprojekt mit vielen Beitragenden. Tippen Sie 'contributors()' für mehr Information und 'citation()', um zu erfahren, wie R oder R packages in Publikationen zitiert werden können. Tippen Sie 'demo()' für einige Demos, 'help()' für on-line Hilfe, oder 'help.start()' für eine HTML Browserschnittstelle zur Hilfe. Tippen Sie 'q()', um R zu verlassen. > q() Workspace sichern? [y/n/c]: n C:\Program Files (x86)\GRASS GIS 7.1.svn\extrabin> inside a winGRASS session: __________ ___ __________ _______________ / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/ / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / \____/_/ |_/_/ |_/____/____/ \____/___//____/ Welcome to GRASS GIS 7.1.svn (r64877) 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. C:\Users\xxxx>R Der Befehl ""\R.exe"" ist entweder falsch geschrieben oder konnte nicht gefunden werden. C:\Users\xxxx> It seems to be broken; I will look into it. ----- best regards Helmut -- View this message in context: http://osgeo-org.1560.x6.nabble.com/R-in-winGRASS-tp5193729p5193876.html Sent from the Grass - Dev mailing list archive at Nabble.com. _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev