Dear Participants,
Before we can start learning R, I ask everybody to follow these instructions. We will be using the docker-image of R-Studio, which we are using in the core-facility as well.
This should avoid running into problems because of different R/R-studio installations.
First make sure you have Docker-Desktop installed and maybe get familiar with the concept of Docker.
Download and install: https://www.docker.com/get-started
Further information: https://docs.docker.com/desktop/dashboard/
Second download and run the docker-image via the Terminal/Console:
mkdir -p ~/r-age/
docker run -d -p 8787:8787 -v ~/r-age/:/home/rstudio --name rstudio -e PASSWORD=yourpasswordhere mpgagebioinformatics/rstudio-age:4.0.4
You can now access rstudio in your browser over http://localhost:8787 username: rstudio
password: yourpasswordhere
.
(from https://github.com/mpg-age-bioinformatics/cluster_first_steps -> "Running R-Studio images on your laptop")
To stop and remove the docker image:
docker stop rstudio
docker rm rstudio
If you need help how to work with the Terminal, please have a look at this link:
https://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
In Mac and Windows you can also use the Docker-Dashboard to pull the image: 'mpgagebioinformatics/rstudio-age:3.6.3' and run it.
Be sure to map folders and ports correctly.
If you already want to start learning, I can reccomend this introdction: https://r4ds.had.co.nz/workflow-basics.html