Sharon Machlis
Turn an R Markdown document into an interactive experience
Featured
May 10, 2019
Turn an R Markdown document into an interactive experience
R Markdown is one of my favorite things about modern R. It offers an easy way to combine text, R…
Tidy eval in R: A simple example
Featured
March 22, 2019
Tidy eval in R: A simple example
Tidy evaluation in R, or tidy eval for short, is a pretty complex topic. But for some specific uses, it’s…
How to write an R package
Featured
March 5, 2019
How to write an R package
When you see “R package,” you may think “Something to share with other people.” But an R package can also…
How to run Python in R
Featured
February 15, 2019
How to run Python in R
As much as I love R, it’s clear that Python is also a great language—both for data science and general-purpose…
Do more with R: Write your own RStudio addins
Featured
January 28, 2019
Do more with R: Write your own RStudio addins
Writing RStudio addins is easy, is fun, and takes just a few minutes! Well, that’s what Hao Zhu from the…
How to create color-coded calendars in R
Featured
January 11, 2019
How to create color-coded calendars in R
A color-coded calendar can be a quick and easy way to see whether you’re achieving a daily goal. Did you…
Do more with R: RStudio addins and keyboard shortcuts
Featured
December 18, 2018
Do more with R: RStudio addins and keyboard shortcuts
If you want to speed up your R programming workflow, RStudio addins and custom keyboard shortcuts are definitely worth a…
Do more with R: Quick lookup tables using named vectors
Featured
November 30, 2018
Do more with R: Quick lookup tables using named vectors
What’s the state abbreviation for Arkansas? Is it AR? AK? AS? Maybe you’ve got a data frame with the information.…
R tip: Keep your passwords and tokens secure with the keyring package
Featured
November 15, 2018
R tip: Keep your passwords and tokens secure with the keyring package
As a former security reporter, it makes me a little queasy to store a password or token in plain text.…
R tutorial: How to import data into R
Featured
November 8, 2018
R tutorial: How to import data into R
Before you can analyze and visualize data, you have to get that data into R. There are various ways to…
How to add sparklines to R tables
Featured
November 5, 2018
How to add sparklines to R tables
Often, all you need in a table is data as text and numbers. But sometimes, you’d like to visualize results…
Do more with R: Quick interactive HTML tables
Featured
October 26, 2018
Do more with R: Quick interactive HTML tables
Interactive tables with sort and filter capabilities can be a good way to explore your data. They’re also handy when…
Do more with R: drag-and-drop ggplot
Featured
October 12, 2018
Do more with R: drag-and-drop ggplot
Some R users become leery of graphical user interfaces. Pointing and clicking and dragging may be convenient, but it can…
Reshape data in R with the tidyr package
Featured
October 3, 2018
Reshape data in R with the tidyr package
It’s Murphy’s Law of Data: The data you have isn’t always in the format that you need. And not all…