R Language

R Language | News, how-tos, features, reviews, and videos

Google chart options

Great R packages for data import, wrangling and visualization

Here are my go-to R packages -- in a handy searchable table.

ifcr 034 thumb

How to export to Excel with R

See how to save a data frame from R to Excel – with styling or multiple tabs.

ifcr 033 thumb

How to get API data with R

No R package for an API you’d like to use? No problem! See how to write your own R code to pull data from an API using API key authentication.

ifcr 031 thumb

How to make your own ggplot2 functions

See how easy it is to make your own functions using ggplot2, dplyr, and other tidyverse package functions – without worrying about quoted and unquoted column names! Thanks to the latest version of the rlang package, tidy evaluation is...

ifcr 030 thumb

How to use .SD in the data.table package

See how to use the special .SD symbol in the R data.table package.

ifcr 029 thumb

Get month-over-month comparisons in R

See various ways to calculate month-over-month, week-over-week, and year-over-year comparisons in R using dplyr and lubridate.

ifcr 026 thumb

How to boost R Markdown interactivity with runtime Shiny

In this episode of Do More With R, Sharon demonstrates how to turbocharge R Markdown interactions with runtime shiny

ifcr 025 thumb

How to customize ggplot with bbplot

Overwhelmed by all the ways you can customize a ggplot2 data visualization? With add-on packages like the BBC’s bbplot, you can use themes created by design professionals – or tweak them to make them your own.

ifcr 024 thumb3

How to reshape data with tidyr’s new pivot functions

See examples of tidyr’s new pivot_longer and pivot_wider functions.

Abstract chart data.

4 data wrangling tasks in R for advanced beginners

R is mighty, but it can be complex for data tasks. Learn how to get summaries, sort and do other tasks with relative ease. (Now updated with dplyr examples.)


How to use tidy eval in R

Do you want to use ggplot2, dplyr, or other tidyverse functions in your own functions? This easy example shows how

ifcr 021 thumb3

Run Python in R code

While R is a useful language, Python is also great for data science and general-purpose computing. See how to run Python code within an R script and pass data between Python and R


R tip: Write your own RStudio addins

This RStudio Addins tutorial shows step by step how to create an addin for the RStudio IDE


R tip: Creating color-coded calendars

See how well you’re achieving daily goals with a color-coded calendar made in R


R tip: Addins and keyboard shortcuts

Discover an easy way to use key-value pairs in R


R tip: Quick lookup tables with named vectors

Learn an easy method to use key-value pairs in R

tmaptools palette_explorer screen

Useful R functions you might not know

One of the best way to find cool, new-to-you R functions is to see what other useRs have uncovered. Here are some of mine -- and yours.


R tip: Keep passwords and tokens secure with the keyring package

Learn how to store credentials in an encrypted, secure keyring within R

Load More