knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
knitr::opts_chunk$set(fig.width=12, fig.height=8)

Using RStudio on the VM

To run RStudio on your VM, follow the instructions on this page.

In brief, log in to the VM, and run:

module load rstudio/1.2.5033-fosscuda-2019b-Java-11
/apps/misc/rserver.sh

Then follow the on-screen instructions to set up an ssh tunnel by running something like the following locally (numbers and username may differ):

ssh -L 8787:localhost:8787 username@vm.bmrc.ox.ac.uk # change the username and vm number

Finally, navigate to http://localhost:8787 in your browser.



activityMonitoring/week2DataChallenge documentation built on May 30, 2022, 1:54 p.m.