Monday September 13, 2010
I did some poking and prodding of the polling place data, looking at the way Green support is highly concentrated in the inner-capital cities (and in Melbourne and Sydney, in particular). There are a few interesting exceptions that will make sense to Australian readers: Nimbin, Kuranda, Broome…
A sample graph from the report:
Saturday September 11, 2010
The AEC makes this reasonably easy, as do the authors of some very helpful R packages, the good people at Google Maps etc.
Full description here (PDF); entire collection here; a sample here, showing Green 1st preferences, by polling places across metropolitan Melbourne:
Friday September 10, 2010
Terrifying scenes from the San Bruno fire last night. The burned out neighborhood up there reminds me of the 2009 Victorian fires and the 2003 Canberra fire.
I was also reminded that this is 2nd natural gas pipeline catastrophe I’ve been “close” too.
One evening in March 1994, while at Princeton, I was intrigued by an intense glow on the northern horizon. A bunch of us thought something was on fire somewhere, close. We decided to drive up and take a look. We stopped about 5 miles (!) north of Princeton, realizing that we were not getting much closer to the source; we crested a hill heading north on Route 1, and saw this intense orange fireball far to the north, lighting up the countryside for miles. The event has since come to be known as the Durham Woods fire.
Turns out that we were about 22 miles away from the fire in Princeton when we saw the glow of the fireball…:
View Larger Map
Wednesday September 8, 2010
Sweave weirdness: does keep.source break in the presence of caching? With
keep.source=TRUE I seem to get the entire Rnw file included in the
Schunk, right up to the point of the code chunk.
For instance, consider Rnw like this:
This is a test document.
z <- rnorm(n=1e3)
I process the file with
Sweave.sh (version 318) with the
--cache option. The resulting
This is a test document.
> @ %def
> This is a test document.
> z <- rnorm(n=1e3)
Min. 1st Qu. Median Mean 3rd Qu. Max.
-3.39800 -0.66320 -0.01361 0.01446 0.69020 3.19500
Schunk for the
rnorm code chunk looking back all the way to the top of the Rnw file.
I can verify that removing
keep.source=TRUE makes the problem go away; similarly, disabling caching will also make the problem disappear.
system x86_64, darwin9.8.0
status Under development (unstable)
svn rev 52842
version.string R version 2.12.0 Under development (unstable) (2010-08-30 r52842)
cacheSweave is at version 0.4-4.