[GRASS-user] Boxplots based on raster data in GRASS GIS
Roger Bivand
Roger.Bivand at nhh.no
Wed Apr 24 05:50:27 PDT 2024
If you ran execGRASS("g.extension", extension="r.boxplot", operation="add"), the add-on will not be found until you restart the R session in RStudio (parseGRASS caches all *.bat found the first time it is used on Windows). GRASS extensions are installed in GRASS, not R, but can be installed through execGRASS(). In that case, on Windows, the R session needs to restarted. In any case, I guess that making the boxplot in R is easier, see for example: https://rsbivand.github.io/rgrass/reference/readRAST.html.
--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
Roger.Bivand at nhh.no
________________________________________
From: sibylle.stoeckli at gmx.ch <sibylle.stoeckli at gmx.ch>
Sent: 24 April 2024 11:45
To: Roger Bivand; grass-user at lists.osgeo.org
Subject: RE: [GRASS-user] Boxplots based on raster data in GRASS GIS
Yes I have installed successfully all addons (visualised in the figure below). Additionally I was able to run the code using GUI or GRASS GIS command.
* Managed installed GRASS addons extensions: then r.boxplot is visible as installed.
As g.region, r.mask, v.to.rast is working and the error was just related to r.boxplot, I was wondering if I need to install addons a second time in rstudio?
[cid:image001.png at 01DA963C.F15DEE40]
-----Original Message-----
From: Roger Bivand <Roger.Bivand at nhh.no>
Sent: Wednesday, April 24, 2024 10:25 AM
To: grass-user at lists.osgeo.org
Cc: sibylle.stoeckli at gmx.ch
Subject: Re: [GRASS-user] Boxplots based on raster data in GRASS GIS
It is a GRASS addon, install as per:
https://grass.osgeo.org/download/addons/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrass.osgeo.org%2Fdownload%2Faddons%2F&data=05%7C02%7CRoger.Bivand%40nhh.no%7C53695f68bf734e3c848208dc64435092%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C638495487507664917%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=AjIgJKpSmV8LCwwqvw1Co7pDm819QpI5uXJiPCEOufg%3D&reserved=0>
https://grass.osgeo.org/grass83/manuals/g.extension.html<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrass.osgeo.org%2Fgrass83%2Fmanuals%2Fg.extension.html&data=05%7C02%7CRoger.Bivand%40nhh.no%7C53695f68bf734e3c848208dc64435092%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C638495487507677612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=l2K7Z617o9mAPK1yqlGOraOJWz76%2Fmjyd%2Bq9j2L03LA%3D&reserved=0>
https://grass.osgeo.org/grass83/manuals/addons/r.boxplot.html<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrass.osgeo.org%2Fgrass83%2Fmanuals%2Faddons%2Fr.boxplot.html&data=05%7C02%7CRoger.Bivand%40nhh.no%7C53695f68bf734e3c848208dc64435092%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C638495487507686606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=WXu7btmERlnCeIsqL2ubiFKtqDmnZVNZnf6RnNpdKac%3D&reserved=0>
--
Roger Bivand
Emeritus Professor
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway Roger.Bivand at nhh.no<mailto:Roger.Bivand at nhh.no>
More information about the grass-user
mailing list