-
-
Existing server
If there is a server available, ask the systems administrator to create a user account for you. You will likely need to use secure shell (ssh) to access the server. -
Virtual instance of Linux (Ubuntu) on VirtualBox
VirtualBox is a virtualization server from Oracle. Please follow the instructions here -
MacOS – terminal
- The underlying operating system of MacOS is a variant of Unix derived from the NEXT OS (built as a variant of UNIX without the proprietary UNIX constraints, not unlike Linux).
- One can try to follow the Bash exercises in the Mac terminal (bash is usually the default shell). If you experience problems, type “echo $0” and record the name of the shell. If it is not bash, it might be best to install VirtualBox and Ubuntu.
-
-
-
There are some resources below. Please try to work through examples and exercises in these resources. Try typing the commands if there is an example output. Some important commands are:
cd
– change directoryls
– list directory contentspwd
– present working directory (where am I?)echo
– usually “echo $varname”, prints the content of the variable varname.date
– prints the current date (and time) to the screencat
– concatenate. cat filename will print the contents of the file. cat can also be used to append files together.tree
– not always installed by default. Displays directory in a text-based tree structuremv
– move a file, also acts to rename a filemkdir
– create a directoryrm
– remove a filermdir
– remove a directory (if empty)touch
– create a file (if name doesn’t exist) or update the file to the current time. Also create a file with a specific date and time.exit
– leave the current shell (closes shell and terminal window)
-
Elementary Bash:
Bash for beginners (start here) Intro to Bash syntax and tools
Bash Guide for Beginners (find on the page: different formats available)
Bash FAQ (Greg’s Wiki) (see appropriate tab)
Bash Guide (Greg’s Wiki) (see appropriate tab)
Bash Reference manual:
Bash Scripting:
Introduction to bash scripting
Ryan’s Bash Scripting Tutorial
Advanced Bash Scripting Guide (find on the page: different formats available)
-
Download and install R (https://cran.r-project.org/)
-
Download and install RStudio (https://posit.co/downloads/)
-
Install the tidyverse set of packages (https://www.tidyverse.org/packages/) in your R. Note that on Windows, it is often easiest to install everything as a personal installation, i.e., in your userspace. If you install R, RStudio and the packages for everyone on the computer, you need to run the RGUI as administrator.
-
Some beginning resources (free):
-
-
-
-
-
https://bookdown.org/rwnahhas/IntroToR/ (NOTE: You can look around bookdown.org for more books on R)
-
The R for Data Scientists book (https://r4ds.had.co.nz/) FREE ONLINE
-
Handy “cheat sheets” (2-page summaries) for Rstudio and tidyverse packages: https://posit.co/resources/cheatsheets/
This is not required but can be useful
-
Download python and install https://www.python.org/downloads/
-
Download an integrated development environment (IDE):
-
-
PyDev (plugin for eclipse; https://www.pydev.org/)
-
Visual Studio (https://visualstudio.microsoft.com/vs/community/; https://visualstudio.microsoft.com/vs/features/python/)
-
Spyder (https://www.spyder-ide.org/)
-
-
Learning Resources
-
Tutorialspoint (https://www.tutorialspoint.com/python/index.htm)
-
Python Tutorial (https://www.pythontutorial.net/)
-
Other websites: https://medium.com/javarevisited/10-free-python-tutorials-and-courses-from-google-microsoft-and-coursera-for-beginners-96b9ad20b4e6
-