Skip to content
Prev 2891 / 29559 Next

[Qgis-user] Qgis and R ?

G. Allegri wrote:
So you are sitting in front of QGis and there's some R-spatial objects 
sitting in a .RData file. How do we get that into QGis?

  How about the user selects an option 'Load R-spatial Data Object', 
browses the .RData file and chooses the object, then Rpy uses RGdal 
converts it to a shapefile or raster, then QGis loads that in? Is that 
the solution you are thinking of?

  That's an easy solution, but it's a looser coupling than being able to 
read R-spatial objects directly, and it requires an extra file creation. 
  Code-wise it's quite straightforward... I already have an R object 
browser written in PyQt and Rpy!

Barry