MacOS Math Station Howto: HomeBrew setup

MacOS Math Station howto

HomeBrew setup

1. Install Homebrew

In terminal

xcode-select --install

/usr/bin/ruby -e "$(curl -fsSL"
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile

2. R, Rstudio and Mactex: this link (R-Bloggers).

brew tap caskroom/cask   brew install brew-cask   brew install Caskroom/cask/xquartz   brew cask install java   brew tap homebrew/science   brew install r   brew install Caskroom/cask/rstudio
# For latex:
brew cask install mactex
brew install libsvg curl libxml2 gdal geos boost
R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers
brew tap caskroom/fonts
brew cask install font-fira-code
brew cask install iterm2
brew cask install gitup           # if you want a GUI for git stuff (h/t @jennybryan)

From MacOS command line terminal, for Rcomander

brew install pandoc

3. Lyx:

brew cask install lyx

3. Install R commader from Rstudio Terminal, run:


run cmdr from Rstudio


Press Yes

4. Install all R Comannder plugins. From Rstudio terminal

## Obtain names of all packages on CRAN

names.available.packages <- rownames(available.packages())

## Extract packages names that contain Rcmdr
Rcmdr.related.packages <- names.available.packages[grep("Rcmdr", names.available.packages)]


## Install these packages
install.packages(pkgs = Rcmdr.related.packages)

5. Install Anaconda Navigator:

  • From MacOS terminal, type:
brew cask install anaconda
  • Launch anaconda navigator from launchpad.

4. Install Orange 3 Data Mining.

  • Press in Install and launch Orange3.
  • Create a new project
  • In Menu Panel go to Addons, and select everything


  • Close  anaconda navigator
  • From MacOS terminal, type:
  • conda update --all
  • Open anaconda navigator from launchpad.

5. Install glueviz.

From anaconda navigator, press on install.

6. Install Octave.

  • For instructions, see this.

7. Install maxima.

brew tap homebrew/science
brew install maxima
brew install wxmaxima

Or download from here and drug to Applications.

8. Install PSPP.

brew install pspp

To run PSPP, in terminal: $ psppire.

9. Other Software? See here.