Categories: Programming, Octave, R
Installing R Rmpi on Arch Linux
April 7th, 2011After 2.5 hours I have finally managed to get Rmpi installed and working on Arch.After lots of trying and searching I finally found out that Rmpi is not compatible with the latest version of openmpi which is installed from the Arch repos (version 1.5… more »
R Repositories for Ubuntu
April 25th, 2010R packages for Ubuntu have been available through the main Ubuntu repositories for a while. However, these repositories are not updated with version changes in R and so, using these, R will only be updated when Ubuntu is upgraded. I discovered recently t… more »
Accessing a PostgreSQL Database from R using RODBC
March 13th, 2010I recently started working on a project in climate modelling that makes use of a very large data set stored in more than 1500 individual csv files. Manipulating these data in R directly was proving to be very difficult, and so I decided to construct a Po… more »
Using tryCatch with browser()
November 27th, 2009I've recently begun using the browser() command to debug R code. However, I've encountered situations where the offending code is part of a loop, and I only want to open the browser when the error actually occurs -- not on every iteration of the loop. Th… more »
Building R Packages for Windows on Linux
October 14th, 2009My PhD supervisor and I have been putting together an R package relating to some of the work from my PhD. It was easy to build in R on Linux (just use R CMD build) but I've been looking for a simple way to build the package for Windows. Although I try to… more »