[R] Connecting to PostgreSQL/PostGIS from R (rgdal?)

2007-05-30 Thread Mike Leahy
Hello, I've been trying every now and then to find a cross operating system solution that would let me access PostgreSQL (and PostGIS) from R, or to access R from PostgreSQL. I know of pl/r, which accomplishes the latter, but has yet to be successfully ported to Windows. Similarly, I've tried

[R] Entering numbers with decimals

2006-04-08 Thread Mike Leahy
Hello list, I'm just getting started with R, and I'm trying to determine how R treats large numbers that have decimals. Take the following two examples: x - c(999.9) sprintf(%.5f,x) [1] 999.87000 y - c(.9) sprintf(%.5f,y) [1] 1.0

[R] rounding of voronoi vertices using deldir()

2006-04-05 Thread Mike Leahy
Hello list, I'm just getting started with using R - I have been trying over the past day or so to work out a method for generating voronoi polygons for PostGIS using SQL. I was able to put together a procedure which works relatively well, but is somewhat inefficient. Someone on the PostGIS list

[R] New user...tips for spdep?

2005-01-29 Thread Mike Leahy
Hello List, I'm a very new user to the R system. I'm only beginning to learn the basics, but so far I've been able to do little more than try a few examples, and of course begin reading the documentation. My primary motivation for exploring R is the availability of tools like the 'spdep'