of

« November 2009 | Main

December 2009 Archives

December 5, 2009

Syntax highlight your R code on the web.

There is a great JavaScript library for displaying source code on web pages called SyntaxHighlighter. It lacked a module for R, so I wrote one. It's available here:

R Brush for SyntaxHighlighter

Hopefully I'll actually create an actual "code" section to my web site. I have so much code sitting on my computers that I really should put a lot of it online.

Embarrassingly enough, I don't know how to even display an example of this new whizzy software on my blog! Sad. Head over to the other page to see an example.

Any comments or examples of use of the R brush are welcome!

What if Earth Had Rings?

I came across this nice animation showing what the sky would look like from various cities if Earth had rings like Saturn:

http://www.youtube.com/watch?v=UT2sQ7KIQ-E

Just think of how profoundly different our history would have been with those in the sky. My first thought was that the old mariners' problem of determining longitude would never have existed - just look at the rings, night or day. It would be pretty obvious that the Earth was round (though that was figured out several centuries B.C.). I wonder how they would have been incorporated into religious mythologies.

December 20, 2009

It's Probably a Fleet of Rikers.

A lot of people have been asking me where one might find a pride of pictures of Commander Riker. You know, Captain Picard's number one on the Enterprise.

I get asked this a lot!

Luckily, I have found the site that will appease anyone who wants to see a gaggle of Rikers right here: http://cmdrriker.tumblr.com. My favorite is the one drawn by Kate Beaton (of course). If you're not familiar with Hark! A Vagrant, then set aside an hour and check out one of the best web comics out there.

Hugo Chavez

Not that I'm particularly a fan of Hugo Chavez, but I think he hit the nail on the head with this quote about the U.S. recently:
If the climate was a bank they would already have saved it.