This repository contains all source files for the course "Datenanalyse" at the University of Innsbruck.
Students who have not done work in R before will need to set up their computer to work with this course.
- Install R
- (Windows only) Install RTools
- Install RStudio, an open-source working environment for R
(Optional, but recommended)
Having a git installation will allow you to work with the course directly through RStudio, including keeping up-to-date on any changes to the course. It will simplify your work greatly.
- Download and install git
- Go to the Windows menu, type cmd and hit enter. At the prompt, type
where git, it will give you a path, likeC:/Program Files (x86)/Git/bin/git.exe. Copy this path to the clipboard - Open RStudio, go to the Tools menu, choose Global Options. Choose git/svn on the sidebar. Check the box labelled "Enable version control interface for RStudio projects". In the
Git executablebox, paste the path from step 2. - Restart Rstudio.
- Open
Terminal, located in the Utilities folder in Applications; or hit command-space, typeTerminaland press return. - At the prompt, type
which git. This will return a path, probably/usr/bin/git/. Copy this to the clipboard. - Open RStudio, go to the Rstudio menu, choose Preferences. Choose git/svn on the sidebar. Check the box labelled "Enable version control interface for RStudio projects". In the
Git executablebox, paste the path from step 2. - Restart Rstudio.
- Open a terminal window.
- At the prompt, type
which git. This will return a path, something like/usr/bin/git/. Copy this to the clipboard. - Open RStudio, go to the Tools menu, choose Global Options. Choose git/svn on the sidebar. Check the box labelled "Enable version control interface for RStudio projects". In the
Git executablebox, paste the path from step 2. - Restart Rstudio.
- In RStudio, open the
Filemenu and chooseNew Project. - Select
Version Control, thenGit. - For
Repository URL, enter https://github.com/flee-group/vu_datenanalyse_students.git - Project directory name will be filled automatically
- For "Create project as a subdirectory as", hit browse, then choose where on your computer to save the course files. Rstudo will create a new folder called
vu_datenanalysewherever you choose. - Any time you want to resume working on the course, go to the folder you selected in step 5, open the
vu_datenanalyse_studentsfolder, and open thevu_datenanalyse_students.Rprojfile. This will open Rstudio and set it up to work with the course files.