[GRASS-stats] (no subject)
Thomas Adams
tea3rd at gmail.com
Thu Dec 5 10:20:01 PST 2019
Jackson,
Did you first invoke R in your GRASS terminal window, then, at the R prompt:
library(rgrass7)
Tom
On Thu, Dec 5, 2019 at 1:03 PM Jackson Rodrigues <
jacksonmrodrigues at gmail.com> wrote:
> Dear all,
>
> I am trying to work with grass7 in R but I got the following error:
>
> Error in rgrass7::writeRAST(raster_image, "raster_image", flags =
> c("overwrite")) : no stars support yet
>
> Could anyone give me a support on this issue?
>
> I have searched for it elsewhere but no answer found so far.
>
> Reproducible exemple below from Rbloggers
>
> *#####################*
> *library(raster)*
>
>
>
>
>
>
>
>
>
> *raster_image <- raster::raster(system.file("external/test.grd", package =
> "raster"))raster_image <- as(raster_image,
> "SpatialGridDataFrame")plot(raster_image)loc <-
> rgrass7::initGRASS("C:/Program Files/GRASS GIS 7.4.4", home = tempdir(),
> override = TRUE)rgrass7::writeRAST(raster_image, "raster_image", flags =
> c("overwrite"))#Error in rgrass7::writeRAST(raster_image, "raster_image",
> flags = c("overwrite")) :#no stars support yet*
> * ##################### *
>
> Best regards,
>
> Jackson
>
> --
>
>
> _______________________________________________
> grass-stats mailing list
> grass-stats at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-stats
--
Thomas E Adams, III
1724 Sage Lane
Blacksburg, VA 24060
tea3rd at gmail.com (personal)
tea at terrapredictions.org (work)
1 (513) 739-9512 (cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-stats/attachments/20191205/69830ba7/attachment.html>
More information about the grass-stats
mailing list