Thanks to you both. Setting R_LIBS='~/Library/R/library/' in ~/.Renviron did the trick. Thanks, Hadley