9190 R tutorials: Learn R programming for data science

R tutorials: Learn R programming for data science


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.tableand 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.

See also  The Matrix messaging network now counts more than 60 million users

There are plenty more R tutorials in the table below.

Search Do More With R by task, package, or category

TaskCategoryPackages/Software
Create Word documents with Rprogramming, Microsoftquarto, Microsoft Word
12 ggplot extensions worth knowingdataviz, ggplotggplot2, ggpackets, ggblankets, ggeasy, gghighlight, ggthemes, ggsci, hrbrthemes, ggtext, ggdist, plotly, ggiraph, ggstatsplot, esquisse, patchwork, cowplot, ggforce
Easier ggplot with ggchartsdataviz, ggplotggcharts, ggplot2, ggeasy, esquisse
Create PowerPoint files straight from R – or HTML slide presentationsdataviz, data exportrmarkdown, xaringan, Microsoft 365, PowerPoint, Microsoft Office
Astonishingly easy mapping with mapviewGIS, dataviz, data analysismapview
Connect R with Outlook email and Teams collaborationprogramming, MicrosoftMicrosoft365R, Microsoft 365, Outlook, Teams, Microsoft Office
Remember tidyr pivot_wider and pivot_longerdata wranglingtidyr, RStudio
Create racing bar chartsdatavizddplot
Create interactive visualizations and linked interactive graphicsdatavizggiraph, albersusa
Write and run R code in Microsoft Visual Studio Codeprogramming, vscode, MicrosoftVisual Studio Code, VSCode
How to use R with Google BigQuerydata import, big databigrquery, BigQuery
Use the new R 4.1 pipe; run R 4.1 in Dockerprogrammingbase R
Use built-in R colors and external palettesdatavizrcolorutils, scales, tmaptools, paletteer, paletti
Send email with blastulaprogrammingblastula
Install and run Python with Rstudioprogrammingreticulate, python
Create interactive plots and graphsdatavizecharts4r
Error check when iteratingprogrammingpurrr
Add text labels to your ggplot2 graphsdatavizggplot2, ggrepel
Create an election map in R color coded by winner and victory marginGIS, data analysisleaflet
The ultimate R data.table cheat sheet – with tidyverse code too (no video)programmingdata.table, tidyverse
Count and visualize data by groups in Rprogramming, datavizjanitor, vtree, CGPfunctions, ggplot2, dplyr, data.table
Create an interactive drilldown graphdatavizhighcharter
5 useful fread options and features you might not knowdata importdata.table
Preview color-matched parentheses, brackets, and braces in RStudio alpha versionprogrammingRStudio
Run lengthy scripts as RStudio background jobsprogramming, RstudioRStudio
Create interactive tables with expandable rowsdata displayreactable
R 4.0 new features and running R and Rstudio in a Docker containerprogrammingR, RStudio, Docker
dplyr’s new across functiondata wranglingdplyr
Easier ggplot with ggeasydataviz, ggplotggplot2, ggeasy
data.table symbols and operators, plus new fcase functiondata wrangling, data analysisdata.table
Add color to ggplot2 visualization with the ggtext packagedatavizggplot2, ggtext
Twitter: Search, sort, and filter tweets by hashtag with rtweet and reactableprogrammingrtweet, reactable
Send text messages with Rcollaborationtwilio
What’s that ZIP Code? Points in polygons geospatial analysis in RGIS, data analysissf, tmap, tmaptools
Merge data in R 3 ways: base R, dplyr, and data.tabledata wranglingdplyr, data.table, dtplyr
Get data.table speed with dplyr syntax using dtplyrprogrammingdtplyr, dplyr, data.table
Intro to data.tabledata wrangling, data analysisdata.table
Export data from R to Excel with Excel formatting or multiple sheetsdata exportopenxlsx, rio, Microsoft Office, Excel, Microsoft 365
Import API data with httrprogramminghttr
Use git and GitHub with Rprogrammingusethis, Rstudio
Write your own ggplot2 functionsprogrammingrlang, ggplot2
Group and summarize with data.table and .SDprogrammingdata.table
Calculate month-over-month comparisonsprogrammingdplyr
Send Slack messages with Rcollaborationslackr
Send email with R and Gmailcollaborationgmailr
Boost R Markdown interactivitydata displaymarkdown, shiny
Customize ggplot with bbplotdatavizbbplot, ggplot2
Reshape data with tidyr’s new pivot functionsdata wranglingtidyr
Write your own R packageprogrammingdevtools, usethis, roxygen2
Run Python in R codeprogrammingreticulate, python
Write your own RStudio addinsprogrammingRstudio
Create color-coded calendarsdatavizggcal, ggplot2
Save time with Rstudio addins and keyboard shortcutsprogrammingRstudio
Create lookup tables with named vectorsprogrammingbase R
Keep passwords and tokens securesecurity, programmingkeyring
Add sparklines to HTML tablesdatavizDT, sparkline
Make a quick interactive tabledata displayDT
Drag-and-drop ggplotdatavizesquisse, ggplot2
Reshape data with tidyrdata wranglingtidyr
Schedule R scripts on a MacprogrammingcronR
Generate HTML, Word docs and more with R Markdowndata displayrmarkdown, Microsoft Office, Microsoft 365, Word
Access nested list itemsdata wranglingpurrr
Create animations in Rdatavizgganimate, ggplot2
Create mapsGIS, datavizsf, tmap, tmaptools, leaflet
Iterate without for loops using purrr’s map_dfprogrammingpurrr
Save time with RStudio code snippetsprogrammingRstudio
Create dashboardsdatavizflexdashboard
Automated code testsprogramming, functionstestthat
Conditional values with case_whendata wranglingdplyr
Create interactive scatter plots with tauchartsdataviztaucharts
See also  Vue 3.2 promises a speed boost
On this topic: ( from category Software )

Leave feedback

Your email address will not be published.

*
*

4 × three =

Top