I use a MacBook Pro 13" Retina (Late 2013) with OS X Yosemite 10.10.2. I wouldn't wish this upon my worst enemy. Well maybe.
Nightmare in chronological order:
- Downloaded R and RStudio from official sites.
- Ran both apps a few times, fine.
- Installed Homebrew. Ran "brew doctor" in Terminal. Brew doctor said the R files were problematic.
- RStudio started acting weird.
- Downloaded ggplot2 R package via CRAN mirror. 5GB of data clogged the "private/var" file. Deleted some data in there.
- Mac freaked out. Kernel panic until an Apple Store Genius erased the Mac and reinstalled OS X.
I want to continue using R and RStudio. Questions:
- How do I go about this without blowing up the Mac again?
- How to install R and RStudio via Homebrew?
- Do I need to install XQuartz first?
- What would happen if I install R and RStudio unbrewed?
- What conflicts between R, RStudio and Homebrew should I recognize?
- Common quirks of having all of Homebrew, R, and RStudio installed?
- How can I make Homebrew, R, and RStudio live happily ever after without burning down the house?
Thanks!