Blog Archives

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 »

Deploying Shiny Server on Amazon EC2

February 8, 2013
By

Setting up Shiny Server on Amazon’s Elastic Compute Cloud (EC2) can be a bit of a process if you’re unfamiliar with Linux system administration. Thankfully, we’ve done all the hard work for you! If you’re looking to get Shiny Server running in EC2 without delay, just boot up an instance of our public Amazon Machine

Read more »

Dallas R Users: Learn Shiny this Saturday, 2/9

February 5, 2013
By

Just a heads-up for any R users in the Dallas/Fort Worth Metroplex: I’ll be presenting at the Dallas R Users Group this Saturday, 2/9/2013 at 10:00AM at the University of Dallas (1845 East Northgate Drive, Irving, TX). I’ll be talking about how to use RStudio’s new Shiny framework to create R-powered web applications. For the

Read more »

Visualize Color Palettes in Interactive 3D Grid (Shiny + RGL)

January 12, 2013
By
Visualize Color Palettes in Interactive 3D Grid (Shiny + RGL)

You can view the application online at http://trestletechnology.net:3838/rgl/! (Bear with us as we try out the very early release of Shiny Server. There may be some downtime and manual restarts of the service required in the next couple of weeks. Please drop us a line if it’s not working as you expected.) This is an

Read more »

Reconstruct Gene Networks Using Shiny

December 6, 2012
By
Reconstruct Gene Networks Using Shiny

Check out the application on Glimmer!  http://glimmer.rstudio.com/qbrc/grn/   We’ve been experimenting with RStudio’s new Shiny software as a way to quickly and easily create interactive, responsive web applications which are able to leverage complicated analytics back-ends built in the R programming language. We created a simple interface which can infer the structure of an underlying

Read more »

Color Palettes in HCL Space

October 12, 2012
By
Color Palettes in HCL Space

This is a quick follow-up to my previous post about Color Palettes in RGB Space. Achim Zeileis had commented that, perhaps, it would be more informative to evaluate the color palettes in HCL (polar LUV) space, as that spectrum more accurately describes how humans perceive color. Perhaps more clear trends would emerge in HCL space,

Read more »