# NOT RUN {
# Letting set_env look for the QGIS installation might take a while depending
# on how full the C: drive is (Windows)
set_env()
# It is much faster (0 sec) to explicitly state the root path to the QGIS
# installation
set_env("C:/OSGEO4~1") # Windows example
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab