Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
murraycadzow opened this issue May 20, 2018 · 2 comments
Open

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

murraycadzow opened this issue May 20, 2018 · 2 comments

Comments

@murraycadzow
Copy link

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
Copy link

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
Copy link
Author

A brief overview of some of the topics mentioned today:

  • use of gnu parallel to create parallel loops in bash
  • using text expanders to input commonly used urls using shortcuts
  • merging fam files with phenotype in R
  • using table() and prop.table() to get quick summaries of data in R
  • teaching bash with a split screen to show history
  • "one R tip a day" on twitter
  • rstudio multicursors and keyboard shortcuts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants