[GRASS-user] Need Help with R in GRASS
varedi at gmail.com
Sat Oct 20 22:23:19 PDT 2018
Thanks Micha, Problem solved!
On Sun, Oct 21, 2018 at 1:03 AM Micha Silver <tsvibar at gmail.com> wrote:
> On 10/21/18 7:20 AM, Mehrdad Varedi wrote:
> I run Rgui in GRASS and tried to run a simple command to see how GRASS
> works in R. I tried g.list type=vect. the format I used was:
> The output was: >>
> GRASS command: g.list.exe type=rast
> chr "g.list.exe type=vector"
> - attr(*, "cmd")= chr "g.list.exe"
> Why I don't get the results I get from running it in GRASS. (like the
> Use execGRASS(...) instead.
> The R command "doGRASS" does not return the output, just the command name
> that you called. Whereas execGRASS does print the command output. (Check
> ?doGRASS in R). You would use doGRASS in cases where you are creating a new
> vector or raster.
> Any idea?
> Have a great one,
> Mehrdad Varedi
> grass-user mailing listgrass-user at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/grass-user
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user