## ----include = FALSE---------------------------------------------------------- require(knitr) opts_chunk$set( collapse = F # T for red ) ## ----eval=FALSE--------------------------------------------------------------- # /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ## ----eval=FALSE--------------------------------------------------------------- # brew install python@3 ## ----eval=FALSE--------------------------------------------------------------- # python3 --version ## ----eval=FALSE--------------------------------------------------------------- # # Install XCode command-line tools # xcode-select --install # # # Install R # brew install --cask r ## ----eval=FALSE--------------------------------------------------------------- # sudo apt-get update -y ## ----eval=FALSE--------------------------------------------------------------- # python3 --version ## ----eval=FALSE--------------------------------------------------------------- # sudo apt-get upgrade python3 ## ----eval=FALSE--------------------------------------------------------------- # sudo apt-get install python3 ## ----eval=FALSE--------------------------------------------------------------- # python3 --version ## ----eval=FALSE--------------------------------------------------------------- # # Install R # sudo apt-get install r-base ## ----eval=FALSE--------------------------------------------------------------- # # Installing PIP # python3 -m pip install --user --upgrade pip ## ----eval=FALSE--------------------------------------------------------------- # # Installing the 'pandas' module # pip3 install pandas # # # Installing the 'numpy' module # pip3 install numpy # # # Installing the 'rpy2' module # pip3 install rpy2 ## ----eval=FALSE--------------------------------------------------------------- # # Installing PIP # sudo apt-get install python3-pip ## ----eval=FALSE--------------------------------------------------------------- # pip3 -V ## ----eval=FALSE--------------------------------------------------------------- # # Installing the 'pandas' module # sudo pip3 install pandas # # # Installing the 'numpy' module # sudo pip3 install numpy # # # Installing the 'rpy2' module # sudo pip3 install rpy2 ## ----eval=FALSE--------------------------------------------------------------- # # Installing the 'pandas' module # sudo apt-get install python3-pandas # # # Installing the 'numpy' module # sudo apt-get install python3-numpy # # # Installing the 'rpy2' module # sudo apt-get install python3-rpy2 ## ----eval=FALSE--------------------------------------------------------------- # pip3 show pandas # pip3 show numpy # pip3 show rpy2 ## ----eval=FALSE--------------------------------------------------------------- # python get-pip.py ## ----eval=FALSE--------------------------------------------------------------- # # Installing the 'pandas' module # pip3 install pandas # # # Installing the 'numpy' module # pip3 install numpy # # # Installing the 'rpy2' module # pip3 install rpy2 ## ----eval=FALSE--------------------------------------------------------------- # python3