OtagoStudyGroup / studyGroup

http://otagostudygroup.github.io/studyGroup
Other
1 stars 8 forks source link

11am, 24th May, rm 319 Biochem: Tips and Tricks #79

Open murraycadzow opened 6 years ago

murraycadzow commented 6 years ago

Hi everyone,

this is going to be a SYSKA type session where I'd like everyone to share something about how they work and some tips/tricks they have picked up along the way (2-5min, no prep required)

It could be something like a keyboard shortcut that is super useful (anyone in rstudio using pipes: ctrl + shift +m) or a command line argument you find helpful (-help or --help usually does the trick)

So come along and see what tips and tricks others have that might revolutionise your workflow

Murray

Geeketics commented 6 years ago

This is a handy set-up option for RMarkdown files. If you're working from an RStudio project and want your RMarkdown to automatically recognise the project directory as the root directory without having to save your RMarkdown directly into that directory (eg. you can save your RMarkdown to project/docs/file.Rmd, but the file will still run all the code from project/ )

knitr::opts_knit$set(root.dir = rprojroot::find_rstudio_root_file())

murraycadzow commented 6 years ago

A brief overview of some of the topics mentioned today: