Skip to content
Snippets Groups Projects
user avatar
Dirk Sarpe authored
0025dacd
History
Name Last commit Last update
README.md
parallel_example.r
plot.r

RStudio Demo Admin Day

A 5 to 10 minute demonstration of rstudio at the UL.

Concept

  • import project from git repo
  • run a script without parallelisation
  • demonstrate editor features (autocompletion, syntax highlighting, syntax check)
  • run a script with parallelisation
  • show a result (graph) in zoom mode

URLs

to test and caveats

  • why VPN?
  • do we need to demonstrate registration?
  • go through complete process before hand
  • use browser without special keybindings/addons
  • ssh session
  • color scheme editor and console for presentation

Run down

git import

Files Pane

  • automatisch .gitignore, Rproj
  • open plot.r

Editor and plotting

  • syntax highlighting
  • Run or Source (with Echo to display plots, outcomes …)
  • change code to demonstrate code suggestions, facet_wrap
  • Zoom plot

parallel

  • parallel_example.r
  • open htop
  • run single core with %do%
  • run multicore with %dopar%

git changes

  • git pane
  • diff
  • stage
  • commit
  • push