Learn R Programming

RQGIS (version 1.0.4)

run_ini: Reproduce o4w_env.bat script in 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

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().

Examples

Run this code
# NOT RUN {
run_ini()
# }

Run the code above in your browser using DataLab