Hi David,

You can use PL/R to access R functionality from a Postgres SQL command line, or 
you can use rgdal to read Postgis data into R.

So it depends on whether you want to work in the DB & add R capabilities, or 
work in R & access Postgis data.

See: 

http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut01
http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut02

for a useful introduction to PL/R; and for rgdal, see:

http://rgdal.sourceforge.net/
http://cran.r-project.org/web/packages/rgdal/rgdal.pdf
http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut03

HTH,

  Brent Wood


--- On Thu, 11/18/10, David Potts <[email protected]> wrote:

From: David Potts <[email protected]>
Subject: [postgis-users] Postgis & R language
To: "PostGIS Users Discussion" <[email protected]>
Date: Thursday, November 18, 2010, 12:46 AM


Hi List

Has anybody ever tried to read the value of geometry column from a table
into a R-language application  using the plr handler, is this a support
option?

Thanks in advance.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of the
Pinan Software


_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to