New R Markdown articles section, plus .Rmd to .docx super powers!

2015-07-22 Garrett Grolemund
We’ve added a new articles section to the R Markdown development center at Here you can find expert advice and tips on how to use R Markdown efficiently. In one of the first articles, Richard Layton of explains the best tips for using R Markdown to generate Microsoft Word documents. You’ll learn how to set Word styles tweak margins handle relative paths make better tables Read more →

Design patterns for action buttons

2015-04-07 Garrett Grolemund
Action buttons can be tricky to use in Shiny because they work differently than other widgets. Widgets like sliders and select boxes maintain a value that is easy to use in your code. But the value of an action button is arbitrary. What should you do with it? Did you know that you should almost always call the value of an action button from observeEvent() or eventReactive()? The newest article at the Shiny Development Center explains how action buttons work, and it provides five useful patterns for working with action buttons. Read more →

Data management with

2014-09-29 Garrett Grolemund
Some of the most innovative Shiny apps share data across user sessions. Some apps share the results of one session to use in future sessions, others track user characteristics over time and make them available as part of the app. This level of sophistication creates tricky design choices when you host your app on a server. A nimble server will open new instances of your app to speed up performance, or relaunch your app on a bigger server when it becomes popular. Read more →

New Shiny article: Style your apps with CSS

2014-05-07 Garrett Grolemund
Shiny apps use an HTML interface, which means that you can change the visual appearance of your apps quickly and simply with CSS files. Would you like to know how? I posted a new article that will step you through the options at the Shiny Dev Center. Check it out here. Read more →