The reticulate package provides a comprehensive set of tools for interoperability between Python and R. With reticulate, you can call Python from R in a variety of ways including importing Python modules into R scripts, writing R Markdown Python chunks, sourcing Python scripts, and using Python interactively within the RStudio IDE. This cheatsheet will remind you how. Updated 4/19.
- Learning Roadmap
- Important RStudio Sites
The Latest Resources
Package Development Cheat Sheet
The devtools package makes it easy to build your own R packages, and packages make it easy to share your R code.
Data Visualization Cheat Sheet
The ggplot2 package lets you make beautiful and customizable plots of your data.
Shiny Cheat Sheet
This cheat sheet provides a tour of the Shiny package and explains how to build and customize an interactive app.
RStudio IDE Cheat Sheet
No matter what you do with R, the RStudio IDE can help you do it faster. This cheat sheet will guide you through the most useful features of the IDE, as well as the long list of keyboard shortcuts.
R Markdown Cheat Sheet
R Markdown is an authoring format that makes it easy to write reusable reports with R.
Sparklyr Cheat Sheet
Sparklyr provides an R interface to Apache Spark, a fast and general engine for processing Big Data.
Data Transformation Cheat Sheet
This cheat sheet will guide you through the grammar, reminding you how to select, filter, arrange, mutate, summarise, group, and join data frames and tibbles.
Data Import Cheat Sheet
The Data Import cheat sheet reminds you how to read in flat files with the readr package and work with the results as tibbles, and reshape messy data with tidyr.
Apply Functions Cheat Sheet
This cheatsheet will remind you how to manipulate lists with purrr as well as how to apply functions iteratively to each element of a list or vector.
Work with Strings Cheat Sheet
The stringr package provides an easy to use toolkit for working with strings, i.e. character data, in R.
Dates and Times Cheat Sheet
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.
Deep Learning with Keras Cheat Sheet
Keras is a high-level neural networks API developed with a focus on enabling fast experimentation.
Tidy Evaluation with rlang Cheat Sheet
Tidy Evaluation (Tidy Eval) is a framework for doing non-standard evaluation in R that makes it easier to program with tidyverse functions.
Factors with forcats Cheat Sheet