Skip to content

mpg-age-bioinformatics/bit_R_workshop

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 20, 2021 14:43
October 20, 2021 14:43
October 20, 2021 14:43
December 8, 2021 20:06
June 19, 2024 15:12
June 18, 2024 12:11
June 18, 2024 07:47
June 18, 2024 07:47
June 18, 2024 07:47
June 20, 2024 14:05
June 14, 2024 10:48
October 20, 2021 14:43

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