[R] httpd-access.log parsing and graph construction.

2011-01-31 Thread Jeff Hamann
le (httpd-access.log), then I can populate the graph representing the website and perform whatever analysis I need. Yes? I've used the igraph package, not graph, but was assuming there's some existing functionality to perform these tasks. Any thoughts? Please reply privately. Respec

[R] extracting coordinates from SpatialPolygonsDataFrame using slot functions

2010-05-05 Thread Jeff Hamann
In converting some older code: ## builds an OWIN to generate a set of points on a grid within the OWIN object: bdry <- read.shape( "../../data/boundary.shp" ) outline.verts <- bdry$Shapes[[2]]$verts[1:bdry$Shapes[[2]]$Pstart[2],] outline.order <- nrow( outline.verts ) : 2 bdry.poly <- vector( 2, m

[R] is rodbc truncating long strings...

2008-12-29 Thread Jeff Hamann
I'm sorry to have to post a note here, but I can't seem to get around a problem I'm having. I've got a database that contains fields (not memo fields) that are very long strings and when I use RODBC, they get truncated... which is bad... I can verify that all of the string is in the database (v

[R] convert opengis wkt to geometry?

2008-12-15 Thread Jeff Hamann
After writing some code (stupidly without checking to see if there was code to do this already) to generate PostGIS SQL insert statements for simple geometry (wkt), I didn't check see if there is already something available to convert WKT strings into some R package geometry (sp?). Does anyone

[R] getting "small" graphs with Sweave using Rnews.sty

2008-11-03 Thread Jeff Hamann
I'm sorry for having to post this, but I can't seem to find any solutions to this, which seems pretty simple, but then again... I've started playing with the example r news project and wanted to start adding some graphs, but replacing: \begin{figure} \vspace*{.1in} \framebox[\textwidth]{\hfil