Scripting with R¶
Thanks to its official “R Console” plugin, OrbisGIS is able to execute instructions written in R language.
The “R console” is based on Renjin. Renjin is a JVM-based interpreter for the R language for statistical computing.
Here, the user is able to:
- Write & execute ( ) instructions,
- Execute only selected instructions ( ),
- Load & Save .r files,
- Search & Replace words (with advanced options) ( ),
List tables stored in the default H2GIS database¶
In this example, we are using R to list available tables imported in OrbisGIS (assuming you are in H2GIS mode).
The result is displayed in the Output Console:
 "COMMUNE" "SPATIAL_REF_SYS" "TRONCON_HYDROGRAPHIQUE"  "TRONCON_ROUTE" "ZONE_OCCUPATION_SOL"