6

I am new to QGIS and most of the tutorials I have found are for 1.x and the overhaul has me confused.

I would like to create R scripts and run them in QGIS. I have read here that it's possible using the SEXTANTE plugin.

It seems that SEXTANTE is part of the core install now and that it's been renamed to processing. I've found out how to make python scripts but not R.

Is it possible to create and run custom R scripts in QGIS 2.0? If so, where do I go in the new processing function?

4
  • 3
    This was answered here, even though the question is slightly different.
    – cengel
    Oct 24, 2013 at 2:26
  • Thanks for your help, it is quite clear but I cannot see "R scripts" in my processing toolbox (even in advanced interface). I have QGIS 2.2 and only have "scripts". Is it the same or this means that R is not "linked" with QGIS ?
    – user27683
    Mar 5, 2014 at 13:55
  • See Guillermo Olmedo's comment above (switch to "Advanced interface"). By the way, this is NOT a forum, you should have posted that one as comment on Guillermo's answer.
    – simo
    Mar 5, 2014 at 14:07
  • Arelien, did you enable r scripts? You can check if its enabled in the processing menu, in options and configuration Mar 5, 2014 at 23:09

1 Answer 1

5

Sure you can create and run R scripts in QGIS 2.0.

The basic sintaxis is the same as python, so start reading this: http://www.qgis.org/es/docs/user_manual/processing/console.html#creating-scripts-and-running-them-from-the-toolbox

Then you can check, some example scripts installed by default, in your processing panel.

If you need more help you can check some of my scripts:

https://github.com/INTA-Suelos/QGIS-R-Geostatistics

QGIS interface showing processing toolbox

1
  • 2
    If you don't see "R scripts" on your processing toolbox, you have to change from "Simplified interface" to "Advanced interface" using the dropdown menu at bottom Feb 12, 2014 at 16:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.