Re: [GRASS-user] rgrass7 syntax for passing a command

2016-04-29 Thread Blumentrath, Stefan
oun...@lists.osgeo.org] On Behalf Of Roger Bivand Sent: 29. april 2016 09:18 To: grass-user@lists.osgeo.org Subject: Re: [GRASS-user] rgrass7 syntax for passing a command Simply, don't. execGRASS() is for executing single GRASS commands, not a drop-in replacement for bash. Try something like c

Re: [GRASS-user] rgrass7 syntax for passing a command

2016-04-29 Thread Roger Bivand
Simply, don't. execGRASS() is for executing single GRASS commands, not a drop-in replacement for bash. Try something like creating the point in R with the correct projection, and write that vector object to your mapset: library(sp) library(rgrass7) pt <- SpatialPointsDataFrame(matrix(c(636645,

Re: [GRASS-user] rgrass7 syntax for passing a command

2016-04-29 Thread Blumentrath, Stefan
Subject: Re: [GRASS-user] rgrass7 syntax for passing a command Hello Jim, Maybe you should write to grass-stats mailing list, too. Perhaps someone there can provide useful insights/suggestions for your case Best, Vero 2016-04-28 12:53 GMT-03:00 Jim Maas <j.m...@uea.ac.uk<mailto:j.m...@uea.ac

Re: [GRASS-user] rgrass7 syntax for passing a command

2016-04-28 Thread Veronica Andreo
Hello Jim, Maybe you should write to grass-stats mailing list, too. Perhaps someone there can provide useful insights/suggestions for your case Best, Vero 2016-04-28 12:53 GMT-03:00 Jim Maas : > Using GRASS 7.0.3 on Ubuntu Linux, > > I'm attempting to recreate the example of

[GRASS-user] rgrass7 syntax for passing a command

2016-04-28 Thread Jim Maas
Using GRASS 7.0.3 on Ubuntu Linux, I'm attempting to recreate the example of r.stream.distance shown at https://grass.osgeo.org/grass70/manuals/addons/r.stream.distance.html by passing these comands to GRASS from within an R session. I can't figure out the correct syntax to pass this command