set R_HOME for the mac