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)

jannes-m/RQGIS3 documentation built on Dec. 2, 2018, 12:17 p.m.