script for switching between different R installations on Mac OS X