Awesome Open Source
Awesome Open Source

R Style Guide

Best practices for readable, sharable, and verifiable R code

R is a high-level programming language used primarily for statistical computing and graphics. R does not have any well defined coding recommendations or de facto standards. This style guide provides some recommendations based on personal experience and expert opinions (see Additional Guides). Use your best judgement and common sense when deciding whether to adhere to these recommendations. Be consistent. Use style to enhance legibility. Ultimately, a unified style will help make collaboration and sharing code easier.

Start reading ☞

Feel free to fork or clone and make your own R style guide for your lab, team, or collaborative R project.

Additional Guides


Other Info

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
html (10,618
rstats (293
best-practices (166
collaboration (106
styleguide (95

Find Open Source By Browsing 7,000 Topics Across 59 Categories