Installing R with Homebrew

后端 未结 12 654
旧时难觅i
旧时难觅i 2020-12-12 12:35

I\'m trying to install R using Homebrew. I ran these commands which are recommended elsewhere on SO:

brew tap homebrew/science
brew install R
相关标签:
12条回答
  • 2020-12-12 12:40

    You can also install R from this page:

    https://cran.r-project.org/bin/macosx/

    It works out of the box

    0 讨论(0)
  • 2020-12-12 12:45
    brew install homebrew/science/r
    

    works on OS X 10.11.6.

    0 讨论(0)
  • 2020-12-12 12:46
    brew install cask
    brew cask install xquartz
    brew tap homebrew/science
    brew install r
    

    This way, everything is packager managed, so there's no need to manually download and install anything.

    0 讨论(0)
  • 2020-12-12 12:46
    If you meant "r" specifically:
    It was migrated from homebrew/science to homebrew/core.
    

    For r 3.4.3 Mac High Sierra:

    brew tap homebrew/core
    brew install Caskroom/cask/xquartz
    brew install r
    
    0 讨论(0)
  • 2020-12-12 12:49

    homebrew/science was deprecated So, you should use the following command.

    brew tap brewsci/science
    
    0 讨论(0)
  • 2020-12-12 12:50

    I am working MacOS 10.10. I have updated gcc to version 4.9 to make it work.

    brew update
    brew install gcc
    brew reinstall r
    
    0 讨论(0)
提交回复
热议问题