Are you learning the R programming language? Do you want to learn how to do more tasks with R? Check out our Do More With R tutorials below -- many with videos shorter than 10 minutes.
In the table below, you can easily search all the tutorials by task, general topic, and specific R packages.
Available categories: big data, collaboration, dataviz, data analysis, data export, data import, data wrangling, ggplot, GIS, Microsoft, programming, RStudio, and vscode.
Some examples:
ggplot and other R data visualizations Do you need to make static plots with R? Interactive graphs? Animations? Search below for terms such as ggplot, dataviz, and color. You'll get results such as Add color to ggplot2 visualization with the ggtext package , How to create interactive visualizations and linked interactive graphics with ggiraph and How to use built-in R colors and external palettes
If you're working with geospatial tools, there are several tutorials on GIS with R including Astonishingly easy mapping with the mapview package .
Microsoft See how to get more out of Microsoft Office by pairing it with R, including how to generate PowerPoint slides from R , send Outlook email from R , or create Word documents from R or Python with Quarto .
Data wrangling
Learn how to merge data in R 3 ways: base R, dplyr, and data.table and never forget syntax to pivot wider and pivot longer .
If you're a tidyverse user, there's plenty here on tidyr and dplyr . And if you're looking for new ways to boost data wrangling and analysis performance, check out Intro to the data.table package , the ultimate R data.table cheat sheet , and other data.table tutorials.
There are plenty more R tutorials in the table below.
Search Do More With R by task, package, or category
Task
Category
Packages/Software
How to use ChatGPT with R
programming, AI
askgpt, gptstudio, gpttools, chatgpt, gptchatteR, chatgptimages
Create a free data dictionary with R
data
pointblank, quarto
Create an RSS reader with R and the tidyRSS package
programming
tidyRSS
Full text search your Mastodon posts
programming, APIs
rtoot
Create Word documents with R
programming, Microsoft
quarto, Microsoft Word
12 ggplot extensions worth knowing
dataviz, ggplot
ggplot2, ggpackets, ggblankets, ggeasy, gghighlight, ggthemes, ggsci, hrbrthemes, ggtext, ggdist, plotly, ggiraph, ggstatsplot, esquisse, patchwork, cowplot, ggforce
Easier ggplot with ggcharts
dataviz, ggplot
ggcharts, ggplot2, ggeasy, esquisse
Create PowerPoint files straight from R - or HTML slide presentations
dataviz, data export
rmarkdown, xaringan, Microsoft 365, PowerPoint, Microsoft Office
Astonishingly easy mapping with mapview
GIS, dataviz, data analysis
mapview
Connect R with Outlook email and Teams collaboration
programming, Microsoft
Microsoft365R, Microsoft 365, Outlook, Teams, Microsoft Office
Remember tidyr pivot_wider and pivot_longer
data wrangling
tidyr, RStudio
Create racing bar charts
dataviz
ddplot
Create interactive visualizations and linked interactive graphics
dataviz
ggiraph, albersusa
Write and run R code in Microsoft Visual Studio Code
programming, vscode, Microsoft
Visual Studio Code, VSCode
How to use R with Google BigQuery
data import, big data
bigrquery, BigQuery
Use the new R 4.1 pipe; run R 4.1 in Docker
programming
base R
Use built-in R colors and external palettes
dataviz
rcolorutils, scales, tmaptools, paletteer, paletti
Send email with blastula
programming
blastula
Install and run Python with Rstudio
programming
reticulate, python
Create interactive plots and graphs
dataviz
echarts4r
Error check when iterating
programming
purrr
Add text labels to your ggplot2 graphs
dataviz
ggplot2, ggrepel
Create an election map in R color coded by winner and victory margin
GIS, data analysis
leaflet
The ultimate R data.table cheat sheet - with tidyverse code too (no video)
programming
data.table, tidyverse
Count and visualize data by groups in R
programming, dataviz
janitor, vtree, CGPfunctions, ggplot2, dplyr, data.table
Create an interactive drilldown graph
dataviz
highcharter
5 useful fread options and features you might not know
data import
data.table
Preview color-matched parentheses, brackets, and braces in RStudio alpha version
programming
RStudio
Run lengthy scripts as RStudio background jobs
programming, Rstudio
RStudio
Create interactive tables with expandable rows
data display
reactable
R 4.0 new features and running R and Rstudio in a Docker container
programming
R, RStudio, Docker
dplyr's new across function
data wrangling
dplyr
Easier ggplot with ggeasy
dataviz, ggplot
ggplot2, ggeasy
data.table symbols and operators, plus new fcase function
data wrangling, data analysis
data.table
Add color to ggplot2 visualization with the ggtext package
dataviz
ggplot2, ggtext
Twitter: Search, sort, and filter tweets by hashtag with rtweet and reactable
programming
rtweet, reactable
Send text messages with R
collaboration
twilio
What's that ZIP Code? Points in polygons geospatial analysis in R
GIS, data analysis
sf, tmap, tmaptools
Merge data in R 3 ways: base R, dplyr, and data.table
data wrangling
dplyr, data.table, dtplyr
Get data.table speed with dplyr syntax using dtplyr
programming
dtplyr, dplyr, data.table
Intro to data.table
data wrangling, data analysis
data.table
Export data from R to Excel with Excel formatting or multiple sheets
data export
openxlsx, rio, Microsoft Office, Excel, Microsoft 365
Import API data with httr
programming
httr
Use git and GitHub with R
programming
usethis, Rstudio
Write your own ggplot2 functions
programming
rlang, ggplot2
Group and summarize with data.table and .SD
programming
data.table
Calculate month-over-month comparisons
programming
dplyr
Send Slack messages with R
collaboration
slackr
Send email with R and Gmail
collaboration
gmailr
Boost R Markdown interactivity
data display
markdown, shiny
Customize ggplot with bbplot
dataviz
bbplot, ggplot2
Reshape data with tidyr’s new pivot functions
data wrangling
tidyr
Write your own R package
programming
devtools, usethis, roxygen2
Run Python in R code
programming
reticulate, python
Write your own RStudio addins
programming
Rstudio
Create color-coded calendars
dataviz
ggcal, ggplot2
Save time with Rstudio addins and keyboard shortcuts
programming
Rstudio
Create lookup tables with named vectors
programming
base R
Keep passwords and tokens secure
security, programming
keyring
Add sparklines to HTML tables
dataviz
DT, sparkline
Make a quick interactive table
data display
DT
Drag-and-drop ggplot
dataviz
esquisse, ggplot2
Reshape data with tidyr
data wrangling
tidyr
Schedule R scripts on a Mac
programming
cronR
Generate HTML, Word docs and more with R Markdown
data display
rmarkdown, Microsoft Office, Microsoft 365, Word
Access nested list items
data wrangling
purrr
Create animations in R
dataviz
gganimate, ggplot2
Create maps
GIS, dataviz
sf, tmap, tmaptools, leaflet
Iterate without for loops using purrr's map_df
programming
purrr
Save time with RStudio code snippets
programming
Rstudio
Create dashboards
dataviz
flexdashboard
Automated code tests
programming, functions
testthat
Conditional values with case_when
data wrangling
dplyr
Create interactive scatter plots with taucharts
dataviz
taucharts
Copyright © 2023 IDG Communications, Inc.