Compiling with R 3.1.0