Monthly Archives: August 2010

RInside release 0.2.3

August 6, 2010
By

A new 0.2.3 release of RInside is now on CRAN. RInside is a set of convenience classes which facilitate embedding of R inside of C++ applications and programs. RInside works particularly well with Rcpp and now depends on it. This is the first re...

Read more »

Because it’s Friday: Foxes on a Trampoline

August 6, 2010
By

They're foxes. They're on a trampoline. And they're jumping. I don't think there's much more for me to add:

Read more »

Finding out (fast) the classes of data.frame vectors

August 6, 2010
By
Finding out (fast) the classes of data.frame vectors

Sometimes it’s useful to write down the various classes of vectors inside your data.frame objects for documentation and other people to use it. I’ve searched for a quick way to find out all the classes of vectors inside a data.frame. Since I’ve found no reference for such a function/process I made one up. I’d like [&hellip

Read more »

How to animate Google Earth with R

August 6, 2010
By
How to animate Google Earth with R

We've looked before at how you can annotate geographical maps using R, but what if you want to overlay data onto a globe of the Earth, using Google Earth? The RKML package for R (from the OmegaHat project) allows you to do just that, by providing a high-level interface from R to generate KML files, which in turn are...

Read more »

Twenty rules for good graphics

August 6, 2010
By
Twenty rules for good graphics

One of the things I repeatedly include in referee reports, and in my responses to authors who have submitted papers to the International Journal of Forecasting, are comments designed to include the quality of the graphics. Recently someone asked on stats.stackexchange.com about best practices for producing plots. So I thought it might be helpful to

Read more »

Combinadics in R

August 5, 2010
By
Combinadics in R

A question on stats.stackexchange.com reminded me of some code I wrote earlier this summer. The code provides a correspondence between the natural numbers 1 to (N choose K) and all the unique K sized combinations one could draw from N items. This relationship is know as the combinadic of an integer (and my code is pased on...

Read more »

RcppArmadillo 0.2.5

August 5, 2010
By

Hot on the heels of RcppArmadillo release 0.2.4 a few days ago comes a new release 0.2.5 which is now on CRAN. RcppArmadillo makes it easy to write highly efficient and highly readable C++ code for linear algebra (based on Armadillo) in R extensions (u...

Read more »

RcppArmadillo 0.2.5

August 5, 2010
By

Hot on the heels of RcppArmadillo release 0.2.4 a few days ago comes a new release 0.2.5 which is now on CRAN. RcppArmadillo makes it easy to write highly efficient and highly readable C++ code for linear algebra (based on Armadillo) in R extensions (...

Read more »

R and Google Earth ~ comparing tuna tracks vs. Gulf of Mexico oil spill extent

August 5, 2010
By
R and Google Earth ~ comparing tuna tracks vs. Gulf of Mexico oil spill extent

There is a lot of interest in how the Gulf of Mexico oil gusher will affect the ecosystem and its marine species. One such species is the Western Atlantic bluefin tuna that holds the Gulf of Mexico as one of its major spawning grounds. Recent tag data show that the location of the gusher is

Read more »

Where have all the Hacker News old-timers gone?

August 5, 2010
By
Where have all the Hacker News old-timers gone?

Nostalgia ain't what it used to be. As slashdot slowly loses its relevance and digg heads for a more general audience to head off competition from Twitter, loyal readers of uber-technical news aggregator Hacker News wonder if it's heading the same way. Seems like the long-standing users aren't posting links to deep, interesting articles anymore, and are instead being...

Read more »