I've been meaning to play with this too. I assumed it used rpy2 but maybe that is not the case.
Looking at https://docs.qgis.org/testing/en/docs/training_manual/processing/r_intro.html https://docs.qgis.org/2.8/en/docs/user_manual/processing/3rdParty.html There's nothing about external dependencies other than having R and configuring the path to the binary. The pages do however list the author of that module, Matteo Ghetta I poked into the processing source code: https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/r/RUtils.py And it looks like it sends R scripts out as R CMD via python's system call methods, so like calling R on the command-line. Maybe moving this over to the developer list will get a more formal response, with better troubleshooting. Thanks, Alex On 03/05/2016 10:09 AM, Pieter du Plooy wrote: > William > > Thank you so very much for your hard work! > > Pieter > > On Sat, Mar 5, 2016 at 7:55 PM, William Kyngesburye <[email protected]> > wrote: > >> I don't know what Processing needs to work with R. >> >> I just posted QGIS 2.14. >> >>> On Mar 5, 2016, at 11:06 AM, Pieter du Plooy <[email protected]> >> wrote: >>> >>> Hi William >>> >>> I was in fact referring to Processing plugin. >>> >>> I installed rgdal, but that did not make a difference. >>> >>> Bye the way, if I can be presumptuous, when are you planning to release >> 2.14? >>> >>> Pieter >>> >>> On Sat, Mar 5, 2016 at 6:42 PM, William Kyngesburye < >> [email protected]> wrote: >>> Sorry I didn't reply to your earlier email. >>> >>> I think it depends on how your scripts interact with R. I have an R >> plugin for the GDAL framework. I also have an R plugin for the GEOS >> framework, but that's for an old version of R. >>> >>> You can run R scripts from the Processing plugin, but I don't know how >> that links R and QGIS data unless it's through GDAL. >>> >>> There is also rpy2 for using R from python, supposed to be a simple >> instal with pip, but requires Xcode tools to compile. I have a package for >> an old R version, but I could update it. >>> >>>> On Mar 5, 2016, at 6:28 AM, Pieter du Plooy <[email protected]> >> wrote: >>>> >>>> Hi guys >>>> >>>> I would like to use R scripts in QGIS 2.12 from Kyngchaos and am >> unable to. >>>> >>>> I have installed the R package from r-project, and all dependencies. >>>> >>>> When I run the R scripts that I have downloaded, I get the missing >> dependency problem. >>>> >>>> How do I go about rectifying it? >>>> >>>> Regards >>>> >>>> Pieter >>>> _______________________________________________ >>>> Qgis-user mailing list >>>> [email protected] >>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user >>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user >>> >>> ----- >>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> >>> http://www.kyngchaos.com/ >>> >>> "Time is an illusion - lunchtime doubly so." >>> >>> - Ford Prefect >>> >>> >>> >>> _______________________________________________ >>> Qgis-user mailing list >>> [email protected] >>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user >>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user >> >> ----- >> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> >> http://www.kyngchaos.com/ >> >> "We can die but once, and that once we must die. To be always fearing, >> then, would not avert it, and would make life miserable." >> >> - Tarzan, on death _______________________________________________ Qgis-user mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
