Blog Archives

shinyStore – Persistent Client-Side Storage in Shiny

September 11, 2014
By

We’re thrilled to announce the availability of shinyStore, an R package that enables HTML5 Web Storage from Shiny, an interactive web application framework for R. A live demo of an example application is available here. Set a text value then refresh the page, or close the tab and come back in a new tab. You’ll

Read more »

shinyTree: jsTree + shiny

September 4, 2014
By

We’re happy to announce the release of our latest R package, shinyTree. shinyTree is an integration of the jsTree library with the Shiny interactive web framework for R, which makes it simple for R developers to create web applications without knowing anything about HTML or JavaScript. You can view a live demo of one application

Read more »

Ace Code Editor in Shiny (shinyAce)

November 5, 2013
By

The Ace code editor is an elegant, full-featured, browser-based code editor used in such products as RStudio’s IDE. We’re announcing a new R package called shinyAce (now available on CRAN) which integrates the Ace editor into the Shiny web framework. For those who may be unfamiliar, Shiny is an R package which makes it trivial to create interactive web

Read more »

Interactive 3D in Shiny (shinyRGL)

October 13, 2013
By
shinyGL

The rgl package has been used to produce rich, interactive 3D graphics within R using the OpenGL framework for some time. The rgl authors also added the ability to export to WebGL, allowing R authors to produce interactive 3D graphics that were accessible from within any modern web browser. This functionality can now be leveraged

Read more »

Reproducing R: Scripts, Documents, and Packages

June 28, 2013
By

I’m sharing the slides from the talk I’ll be giving at the Dallas R Users Group on creating R packages (and other techniques for reproducing R). I’ll introduce R scripts, reproducible R documents, and R packages. We’ll use the knitr, devtools, and roxygen2 packages in the examples. Download the slides here. If you’re unable to

Read more »

Dallas R Users: Creating R Packages this Saturday, 6/29

June 18, 2013
By

I’ll be presenting at the Dallas R Users Group next Saturday at 10:00AM at the University of Dallas on how to reproduce your R code. We’ll review how to use R scripts, how to embed R code in reproducible documents, and then introduce how to create your own R packages based on your R code.

Read more »

Package-Wide Variables/Cache in R Packages

April 8, 2013
By

It’s often beneficial to have a variable shared between all the functions in an R package. One obvious example would be the maintenance of a package-wide cache for all of your functions. I’ve encountered this situation multiple times and always forget at least one important step in the process, so I thought I’d document it

Read more »

Graphical Tools (rgl) on a Headless Shiny Server

February 27, 2013
By

If you’ve encountered errors such as Warning in rgl.init(initValue) : RGL: unable to open X11 display Warning in fun(libname, pkgname) : error in rgl_init or Error: rgl_dev_getcurrent when trying to use a graphically based package like RGL with Shiny Server, then you’re in the right spot.  The issue is likely that you’re running R or

Read more »

Analysis of Public .Rhistory Files

February 20, 2013
By
Analysis of Public .Rhistory Files

GitHub recently launched a more powerful search feature which has been used on more than one occasion to identify sensitive files that may be hosted in a public GitHub repository. When used innocently, there are all sorts of fun things you can find with this search feature. Inspired by Aldo Cortesi's post documenting his exploration

Read more »

Introduction to Shiny Slides

February 9, 2013
By

Below you can download the slides presented on February 9, 2013 at the Dallas R Users Group on RStudio’s Shiny framework which allows you to create interactive web applications in R. No knowledge of HTML or JavaScript is required! I introduce the alternatives and history of R programming on the web, the reactive programming model,

Read more »