The nightmares are arranged in chronological order:
>Download R and RStudio from the official website.
>Both applications are several times, ok.
>Homebrew is installed. In ” “Brewing Doctor” in “Terminal”. Dr. Brew said there is a problem with the R file.
RStudio began to behave strangely.
>Download the ggplot2 R package via the CRAN mirror. 5GB of data blocked the “private / var” File. Deleted some data.
> The Mac frightened the kernel panic until Apple Store Genius deleted the Mac and reinstalled OS X.
I want to continue using R and RStudio. Question:
>What should I do?
>How to install R and RStudio through homebrew software?
>Do I need to install XQuartz first?
>What will happen if I install R and RStudio unbrewed?
> What is the conflict between R, RStudio and Homebrew?
>Installed all the common quirks of Homebrew, R and RStudio?
>How to make homebrew, R and RStudio without burning down the house Happy life?
Thank you!
How do I go about this without blowing up the Mac again?
Don’t try to delete swap files while the computer is running! If you start to delete random system files, you will have a bad day.
How to install R and RStudio via Homebrew?
You can install R using brew install homebrew / science / r. You can use homebrew-cask to install binary RStudio, such as brew install Caskroom / cask /rstudio.
Do I need to install XQuartz first?
No, this is no longer needed.
What would happen if I install R and RStudio unbrewed?
Nothing is bad; the brewing doctor may report the findings But this is not an error, and you should not think that they represent a problem, although they are helpful to maintainers like me if you are asking for help trying to diagnose build failures.
What conflicts between R, RStudio and Homebrew should I recognize?
There are no major conflicts. If you install the compiler from http://r.research.att.com/libs/, if you use brewed R, then these compilers are unnecessary, then you may encounter trouble in the future, install gcc from Homebrew ( Provide gfortran).
Common quirks of having all of Homebrew, R, and RStudio installed?
As of August 2015, no more The following comments are needed; the package is now installed by default to /usr/local/lib/R/xy/site-library and should survive the minor R upgrade.
If you are using brewed R and want the installed package to survive the secondary R upgrade, you can run mkdir -p ~/Library/R/3.2/library, and then R will Install this path by default (place the package in your home directory, not in the cellar).
How can I make Homebrew, R, and RStudio live happily ever after without burning down the house?
Go up Look!
I use OS X Yosemite 10.10.2 MacBook Pro 13 “Retina (end of 2013)), I don’t want this to be my worst enemy, maybe.
The nightmares are arranged in chronological order:
>Download R and RStudio from the official website.
>Both applications are several times, OK.
>Installed Homebrew. “Brew Doctor” in “Terminal Station.” Dr. Brew said that the R file was faulty.
RStudio began to behave strangely.
>Download the ggplot2 R package via the CRAN mirror. 5GB of data is blocked.” “private / var” file. Some data was deleted.
> The Mac frightened the kernel panic until Apple Store Genius deleted the Mac and reinstalled OS X.
I want to continue using R and RStudio. Question :
>What should I do?
>How to install R and RStudio through homebrew software?
>Do I need to install XQuartz first?
>If I install R and RStudio unbrewed What will happen?
>What is the conflict between R, RStudio and Homebrew?
>All the common quirks of Homebrew, R and RStudio are installed?
>How to make homebrew without burning down the house , R and RStudio have a happy life?
Thank you!
How do I go about this without blowing up the Mac again?
Don’t try to delete the swap file while the computer is running! If you start deleting random system files, you will have a bad day.
< /p>
How to install R and RStudio via Homebrew?
You can install R using brew install homebrew / science / r. You can install the binary using homebrew-cask RStudio, such as brew install Caskroom / cask / rstudio.
Do I need to install XQuartz fir st?
No, this is no longer needed.
What would happen if I install R and RStudio unbrewed?
Nothing is bad; the brewing doctor may report the findings But this is not an error, and you should not think that they represent a problem, although they are helpful to maintainers like me if you are asking for help trying to diagnose build failures.
What conflicts between R, RStudio and Homebrew should I recognize?
There are no major conflicts. If you install the compiler from http://r.research.att.com/libs/, if you use brewed R, then these compilers are unnecessary, then you may encounter trouble in the future, install gcc from Homebrew ( Provide gfortran).
Common quirks of having all of Homebrew, R, and RStudio installed?
As of August 2015, no more The following comments are needed; the package is now installed by default to /usr/local/lib/R/xy/site-library and should survive the minor R upgrade.
If you are using brewed R and want the installed package to survive the secondary R upgrade, you can run mkdir -p ~/Library/R/3.2/library, and then R will Install this path by default (place the package in your home directory, not in the cellar).
How can I make Homebrew, R, and RStudio live happily ever after without burning down the house?
Go up Look!