+ - 0:00:00
Notes for current slide
Notes for next slide

Parting remarks

Reproducible Computing
@ JSM 2019

Colin Rundel

July 27, 2019

1 / 6

Reproducibility ladder

Aim to go at least a little higher in your next project in at least one area

  1. Scriptability
  2. Literate Programming
  3. Version Control
  4. Automation
2 / 6

R Markdown tips / resources

  • R Markdown cheatsheet: https://www.rstudio.com/resources/cheatsheets/
  • R Markdown document should be in your root directory
  • Do not set a working directory in your R Markdown document
    • Actually, don't ever use setwd()
    • See the here package for an alternative approach
3 / 6

GitHub tips / resources

  • It's pretty easy to convert your repo to a website
    • Go to Settings and then Enable GitHub pages
    • Lots of Packages to help create a nice webpage: blogdown, bookdown, pkgdown, etc.
  • You can use GitHub as a search engine to see how people write their Makefiles and how they use functions in a given language
  • You can add a license to your repo upon creation or later by adding a file called LICENSE.md
    • GitHub provides you a list to select licenses from
    • Think about commercial/non commercial, share alike/not
    • See https://choosealicense.com/ for help with picking a license
  • Happy Git with R by Jenny Bryan
4 / 6

Make tips and resources

  • Some projects you can outline well initially and start with a Makefile
  • Others you'll want to start working in an R Markdown document and then break it up into pieces and use make to glue the pieces back together
  • Thinking about the folder structure(s) helps and leveraging tools like here helps
  • Leverage the community, you are not alone in dealing with these types of problems
    • Twitter, Stack Overflow, etc.
    • Scientific computing is a large tent - look beyond R for ideas
5 / 6

Thanks
Enjoy JSM 2019!

6 / 6

Reproducibility ladder

Aim to go at least a little higher in your next project in at least one area

  1. Scriptability
  2. Literate Programming
  3. Version Control
  4. Automation
2 / 6
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow