O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting ready

In order to execute an R algorithm in QGIS, we have to activate R in QGIS and indicate the location of R binaries. In the QGIS interface, go to the Processing | Options… | Providers menu. Then, go to R scripts and mark the checkbox next to Activate, and in the R folder option, browse and select the folder where R is installed in your machine. Finally, click on OK:

Note that the code for this recipe is under the R-Qgis folder located within the code of this chapter.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required