.start_grass | R Documentation |
Start grass in a simple way
.start_grass( layer, layer_name, gisBase, home = tempdir(), gisDbase = home, location = "watershed", mapset = "PERMANENT" )
layer |
A SpatRaster or RasterLayer object to write to the grass session |
layer_name |
Name of the layer in the grass environment |
gisBase |
character; the location of the GRASS installation |
home |
Location to write GRASS settings |
gisDbase |
Location to write GRASS GIS datasets |
location |
Grass location name |
mapset |
Grass mapset name |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.