Dissemination

RStudio Cheat Sheets

Reading Time: 2 minutes

R is a programming language and free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. It is widely used for developing stats software & data analysis.

Early Career Dementia Researchers all over the world are turning to R, Python, and other open-source programming languages, to make sense of data.

Inspired by innovators in science, education, government, and industry, RStudio has developed free and open tools for R, and enterprise-ready professional products for teams who use both R and Python, to scale and share their work.

RStudio’s mission is to create free and open-source software for data science, scientific research, and technical communication. They do this to enhance the production and consumption of knowledge by everyone, regardless of economic means, and to facilitate collaboration and reproducible research, both of which are critical to the integrity and efficacy of work in science, education, government, and industry.

In June we hope to record an ‘Coding Languages Podcast – the pros and cons of different packages, discussing the pitfalls and with advice of how to start. If you have knowledge you would like to share, and join our guests on the show, drop us a line – adam.smith@nihr.ac.uk 


RStudio has created a range of its own ‘CheatSheets’ and collated submissions from others to make make life a little easier – below are a couple of examples, and a link to get the rest.

Web APIs for R with plumber Cheatsheet – The Plumber package enables R developers to build web APIs. Plumber uses special R comments combined with standard R functions to create API endpoints. This cheatsheet provides everything you need to get started building APIs in R with Plumber. Updated March 21.

 

Dates and Times Cheatsheet – Lubridate makes it easier to work with dates and times in R. This lubridate cheatsheet covers how to round dates, work with time zones, extract elements of a date or time, parse dates into R and more. The back of the cheatsheet describes lubridate’s three timespan classes: periods, durations, and intervals; and explains how to do math with date-times. Updated December 17.

 

Get the cheatsheets from the RStudio Website

We also really enjoy reading the advice posts on Instagram from thechronicscholar

Leave a Reply

Translate »