Publications by Jon

How to install R packages from source on Mac OS X

31.07.2010

In my last post about installing the rgdal R package on Mac OS X, I had apparently glossed over the last step of compiling the R package from source.  I hadn’t realized that Mac OS X actually doesn’t come default with the necessary software to do this.  Most times, prepackaged binaries work fine but occasionally, packages may not have a bin...

1924 sym

R on the iPhone

12.09.2010

iPhone users who have jailbroken their phone have been able to compile R for a while now since they have access to the command line via MobileTerminal.  However, I just recently found out that a package is now up on Cydia to ease installation. So I fired up my iPhone 4 and installed R on it just for fun using the instructions here. I’ll write ...

2662 sym 6 img

R with Vim on Mac OS X

12.12.2010

The built-in script editor for the Mac OS X R GUI actually isn’t bad. In fact it is much better than its Window’s counterpart. In particular, it has: Syntax highlighting Auto-completion Bracket matching Auto-indent Block code execution (with blocked command history) However, when coding in R and pretty much any other language, Vim has alway...

2267 sym 2 img

Installing Rmpi with OpenMPI on Mac OS X Lion

08.08.2011

For whatever reason, Apple decided not to include OpenMPI in Mac OS X Lion (it was supported in Leopard and Snow Leopard). I found this out the hard way after doing a clean install of Lion. Here are steps to install OpenMPI and get it working with the Rmpi package in R. One benefit of doing it this way is that you get the latest version of OpenMP...

2208 sym

GTA R Users Group – Using R for Data Mining Competitions

27.11.2011

Here are the presentation slides I used for my talk on “Using R for Data Mining Competitions” at Ryerson University as part of the Greater Toronto Area (GTA) R User’s Meetup Group. Presentation (Prezi) Presentation (PDF) Meetup Event page Special thanks to Anthony Goldbloom from Kaggle and various competition winners for sharing their cod...

914 sym 2 img

R and RStudio incompatibility with Yosemite Mac OS X 10.10

23.10.2014

There is currently a bug (or feature?) in the current version of Yosemite (OS X 10.10) that messes with the passing of environmental variables to programs launched from Finder (as pointed out by Adam Maxwell). Notably, this means that PATH variables are not passed properly to R.app or RStudio.app. You may end up seeing errors such a...

1551 sym