Description Usage Arguments Value Author(s) References See Also Examples
Metadata about GRASS environment and about a map (i.e., raster map resolution, type and range) will be returned as a list. User can choose GRASS format to store the information, i.e. in a .txt file, or to have output as a list in R.
1 |
map.name |
character string. Name of a raster map stored in GRASS as returned from |
format |
character string, by default "grass". Preferred output format between GRASS output format ("grass") and R list ("r"). |
Return either a list or text.
Chiara Magliozzi chiara.magliozzi@libero.it, Fernando Canovas fcgarcia@ualg.pt
https://grass.osgeo.org/grass70/manuals/r.info.html
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# starting GRASS session
initGRASS("/usr/bin/grass-7.0.0", home=tempdir())
initGRASS("C:/GRASS", home=tempdir())
## Path to file
file1 <- paste(system.file(package = "ENiRG"),"/ext/tann.asc", sep="")
import.egvs(file1, "tann")
map.info("tann", format="r")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.