Re: [R] rounding of voronoi vertices using deldir()

2006-04-05 Thread Prof Brian Ripley
The problem is most likely your use of cat() for output. Consider > x <- 8665540.49905558 > cat(x, "\n") 8665540 > cat(as.character(x), "\n") 8665540.49905558 > options(digits=10) > cat(x, "\n") 8665540.499 So it would be best to do the conversions yourself, and I would investigate using format(

[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