[Qgis-user] R script with graphical interface under SEXTANTE

Victor Olaya volayaf at gmail.com
Sun May 12 11:05:09 PDT 2013


Sophie

Calling an external script should work fine, but not if the functions
you are calling open new windows or require interaction from the user.
You should just take the input data, process it, and then generate an
output result, that SEXTANTE will then manage and open in QGIS if
needed.

Regards

Victor

2013/5/8 Amon-ra <slasfargeas at gmail.com>:
> Dear all,
>
> I need to use R (2.15) scripts under sextante to give the results (spatial
> data) to QGIS.
> My R scripts use many libraries to create BBNs, to change BBNs with
> graphical tools and load data and spatial data.
>
> For now, I can only open temporary (less than 1 second) my R script main
> frame with this :
> ## [goupTest]=group
>
> source("c:\folder\main.R")
>
> I found many tutorials to know how I can write a short R script with some
> sextante commands but not really if I can call an entire R script software
> with a graphical interface under sextante.
>
> So, I have many questions:
>
> Can I do that ?
>
> What is the best way ?
>
> Should I re-write all the R scripts or just the main script which call the
> others will be enough?
>
> QGIS will have access to spatia data only after the end of my algorithm, is
> it a way to do it at any time ?
>
> Cheers,
>
> Sophie
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/R-script-with-graphical-interface-under-SEXTANTE-tp5052013.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list