Blog Archives

Read GRASS raster directly into R?

July 15, 2013
By
Read GRASS raster directly into R?

There was always the issue which bugged me: Why do I have to go through an intermediate format on disk when I want to import a GRASS raster layer into R? At the moment, when I use readRAST6(), the raster layer is exported from GRASS into an intermediate formate (I don’t recall which format it

Read more »

useR 2013

July 15, 2013
By
useR 2013

Four days sunshine, heat and R – isn’t that a dream? Well, I guess for some this would be a nightmare, but that depends if you like heat or not. And it was hot: at 21:00 it was still 35 degrees in the sun. So that aspect is covered, and we can move on to

Read more »

Paper on org-mode and reproducible research

January 26, 2012
By
Paper on org-mode and reproducible research

As I was talking recently about reproducible research, I have to post this. A new paper by Eric Schulte, Dan Davison, Thomas Dye, Carsten Dominik. If you haven’t heard about them, you haven’t been on the org-mode mailing list. They could be called the main contributors to org-mode and the part of org-mode called babel,

Read more »

Debugging with

November 14, 2011
By
Debugging with

I just found these two gems about debugging in R on r-help today (here is the thread): 1) posted by Thomas Lumley: traceback() gets you a stack trace at the last error options(warn=2) makes warnings into errors options(error=recover) starts the post-mortem debugger at any error, allowing you to inspect the stack interactively. 2) added by

Read more »

Always put comments in your code!

September 16, 2011
By
Always put comments in your code!

I have a paper which I wrote some years ago, which has not been finished, and which should be accompanied by an R package. So far nothing special, but at that time, I was only at the beginning of my affair with R, and so I made several mistakes (OK – I did also some

Read more »