layout | title |
---|---|
page |
Computer Setup |
WIS 6934 students will need their own laptops set up with R by week 2, Git by week 10, and SQL by week 13.
Download and install the R base system and RStudio. Both are needed. Installing RStudio will not automatically install R.
- Create an account on GitHub (https://github.com) using the
Sign up for GitHub
form on the right side of the page. - Send your username to your instructor.
- Once your instructor adds you to the course GitHub organization you will receive an email asking you to accept the invitation. Click on the link to accept.
- Check if this worked
- Go to https://github.com.
- Sign in if necessary.
- In the upper left corner click on the drop down with your name.
- Confirm that the name name of the course GitHub organization is present
- Download the Git for Windows installer.
- Run the installer and follow the steps bellow:
- Click on "Next".
- Click on "Next".
- Keep "Use Git from the Windows Command Prompt" selected and click on "Next". If you forgot to do the integration with R 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 and click on "Next".
- Keep "Use Windows' default console window" selected and click on "Next".
- Click on "Install".
- Click on "Finish".
- Check if the installation is working:
- Send your username to your instructor. Once you have received a GitHub invite to the class organization accept it and only then proceed.
- Open RStudio
- File -> New Project -> Version Control -> Git
- On the page called
Clone Git Repository
paste https://github.com/dcsemester/install-test.git into the "Repository URL:" box. - Click "Create Project"
- Enter your GitHub username and password when prompted
- If you see no errors and a file named
SUCCESS.txt
in your Files tab then everything is setup correctly.
If git and RStudio aren't talking to each other (i.e., you don't get the expected result from when you check the installation), try the following:
- Open RStudio
- Select the
Tools
menu ->Global Options
->Git/SVN
- Next to
Git executable
clickBrowse
- Navigate to
C:\Program Files\Git\bin\
and double click ongit
(this should change the value inGit executable
toC:\Program Files\Git\bin\git
) - Click
OK
Do not change the git executable to C:\Program Files\Git\mingwXX\bin\git
as this will fail on some systems with an error message including "rpostback-askpass".
- 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").
- 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 see additional instructions below.
- Check if git and RStudio are talking to each other:
- Send your username to your instructor. Once you have received a GitHub invite to the class organization accept it and only then proceed.
- Open RStudio
- File -> New Project -> Version Control -> Git
- On the page called
Clone Git Repository
paste https://github.com/dcsemester/install-test.git into the "Repository URL:" box. - Click "Create Project"
- Enter your GitHub username and password when prompted
- If you see no errors and a file named
SUCCESS.txt
in your Files tab then everything is setup correctly.
If the git installation didn't work (i.e., you don't get the expect result from Step 5), 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
If git and RStudio aren't talking to each other (i.e., you don't get the expect result from Step 6), try the following:
- Open RStudio
- Select the
Tools
menu ->Global Options
->Git/SVN
- Next to
Git executable
clickBrowse
- Navigate to
usr/local/bin/
and double click ongit
(this should change the value inGit executable
from/usr/bin/git
to/usr/local/bin/git
) - Click
OK
Git is probably already installed. If it is not already available 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
.
Download and install DB Browser for SQLite
Python installation is not required for WIS 6934. Python materials on this site are no longer under active development.
Download and install the Anaconda Scientific Python Distribution. I recommend you use a special editor like the Wing Intelligent Development Environment - 101.