R
Download and install the R base system. We recommend you use R studio to work with the base system.
Git
Windows
- Download the Git for Windows installer.
- Run the installer and follow the steps bellow:
- Click on “Next”.
- Click on “Next”.
- Click on “Next”.
- Click on “Next”.
- Click on “Next”.
- Select “Use Git from the Windows Command Prompt” and click on “Next”. If you forgot to do this programs that you need for the workshop will not work properly. If this happens rerun the installer and select the appropriate option.
- Click on “Next”. Keep “Checkout Windows-style, commit Unix-style line endings” selected.
- Select “Use Windows’ default console window” and click on “Next”.
- Click on “Next”.
- Click on “Finish”.
Mac OS X
- Open up the Terminal, type in “git” and press enter.
- This should cause a pop-up window to appear. It will have several options; click on “Install” (not “Get Xcode”, see “Installing Xcode” for that).
- Click “Agree”.
- When the install is finished, click “Done”.
- To make sure this worked, type in “git” in the Terminal and press enter. Some information will come up, including a list of common commands.
If this doesn’t work you can try the following:
For OS X 10.9 and higher, install Git for Mac by downloading and running the
most recent “mavericks” installer from
this list. After
installing Git, there will not be anything in your /Applications
folder, as
Git is a command line program. For older versions of OS X (10.5-10.8)
use the most recent available installer labelled “snow-leopard” available
here
Installing Xcode
- Open up the Terminal, type “xcode-select –install” and press Enter
- Click “Install” on the pop-up window
- Click Agree when the License Agreement appears
Linux
Git is probably already installed. If it is not already available on your
machine you can try to install it via your distro’s package manager. For
Debian/Ubuntu run sudo apt-get install git
and for Fedora run sudo yum
install git
.
Configure Git
Once Git is installed, you should configure your email and user name to track your version history.
- Open up the Terminal or command line window (in Windows you can use Git bash)
- Type and replace “Your name” and your.email@domain.com from the following lines:
git config --global user.name "Your Name"
git config --global user.email your.email@domain.com