Students will need their own laptops and a github account username by week 1.
Cloud computing for Smithsonian Scholars
One major obstacle to learning scientific computing is having the proper hardware and software. Instead of wasting our time troubleshooting frustrating installation roadblocks, we have decided to sidestep that challenge by providing a ready made cloud computing environment for each of the UCSB-Smithsonian Scholars. The only requirements are an internet connection and a web browser, meaning a chromebook could easily be used to work through all of the assignments for the course. Specific directions for logging on and using the web portal are posted in the Gaucho Space course documents.
GitHub
- 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 of the course GitHub organization is present.
Some students may be curious about how to install scientific computing tools locally on their own machines. The directions below are only for those who would like to attempt installation on their own, but we recommend against local installation while the course is ongoing.
Local Install (not recommended for our course)
R
Download and install the R base system and RStudio. Both are needed. Installing RStudio will not automatically install R.
Git
Windows
- 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”.
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”).
- 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
Linux
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
.
SQL
Download and install DB Browser for SQLite
Python
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.