run_ini: Reproduce o4w_env.bat script in R

Description Usage Arguments Value Author(s) Examples

View source: R/helper_funs.R

Description

Windows helper function to start QGIS application. Basically, the code found in all .bat files found in etc/ini (most likely "C:/OSGEO4~1/etc/ini") is reproduced within R.

Usage

1
run_ini(qgis_env = set_env())

Arguments

qgis_env

Environment settings containing all the paths to run the QGIS API. For more information, refer to set_env().

Value

The function changes the system settings using base::Sys.setenv().

Author(s)

Jannes Muenchow

Examples

1
2
3
4
## Not run: 
run_ini()

## End(Not run)

r-spatial/RQGIS documentation built on April 24, 2020, 7:37 p.m.