Blog Archives

R and RStudio incompatibility with Yosemite Mac OS X 10.10

October 23, 2014
By

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

Read more »

GTA R Users Group – Using R for Data Mining Competitions

November 27, 2011
By
GTA R Users Group – Using R for Data Mining Competitions

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 code and

Read more »

Installing Rmpi with OpenMPI on Mac OS X Lion

August 8, 2011
By

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

Read more »

R with Vim on Mac OS X

December 12, 2010
By
R with Vim on Mac OS X

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 always

Read more »

R on the iPhone

September 12, 2010
By
R on the iPhone

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

Read more »

How to install R packages from source on Mac OS X

July 31, 2010
By

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,

Read more »

Installing rgdal on Mac OS X

July 23, 2010
By

The rgdal package contains bindings from R to the GDAL (Geospatial Data Abstraction Library) as well as the PROJ library. It is a dependency for numerous spatial statistics packages. Note that the binaries on the rgdal homepage are outdated — the most up-to-date version of the rgdal package can be found on CRAN. Unsurprisingly, rgdal

Read more »

Hello world!

July 23, 2010
By

Throughout the course of my research, I come across a lot of obstacles and nuisances that are either undocumented or documented poorly.  Therefore, I decided to throw up this blog as a repository of sorts to store all of these little tidbits of information with the hope that it will save somebody somewhere a few minutes of

Read more »