R Language

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

Google chart options

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

ColorBrewer palettes

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


R tip: Sparklines in HTML tables

Learn how to add sparklines to HTML tables in R with the DT and sparkline packages


R tip: Quick Interactive Tables

See how to create an interactive HTML table with one line of code. Plus, plenty of customizations

esquisse thumbnail

R tip: Drag-and-drop ggplot

See how the new graphical user interface for ggplot2 works, thanks to the esquisse R package

template c100.00 03 53 06.still002

R tip: Reshape data with tidyr

See how the tidyr R package’s gather and spread functions work. Plus a bonus look at labeling in ggplot2

template c100.00 01 47 09.still002

R tip: Schedule R scripts on a Mac

Learn how to run R scripts from the Mac command line. Then, see how to schedule R scripts with cron jobs and the cronR package.

template c100.00 02 07 26.still002

R tip: R Markdown tutorial

In this 10th episode of Do More with R, learn how to create HTML, Word docs, PowerPoint presentations, and more that combine text, graphics, and R code

template c100.00 02 48 09.still001

R tip: Access nested list items with purrr

In this ninth episode of Do More with R, learn how to easily access and modify nested list items with the purrr package’s modify_depth function

Load More