Say you have an Amazon EC2 instance running and you want to be able to control your R session running there from your local R session. At heart, this is not a new idea for the R community. You can already control remote R sessions easily with Shiny or RStudio server, for instance. Well now you can also try the experimental remoter package, available on github. So while this isn't really tackling Read more >>
Today I'll be giving a short talk/demo on a shiny-based webapp I've been working on to perform basic text analyses. You can see a live demo of the app here: The presentation details are as follows: Date: Friday, August 28th - 12:00 pm ET Presenters: Mike Black and Drew Schmidt Phone: 1-866-939-8416 Participant code: 4906909# Web Conference: Title: Read more >>
I'm torn about talking about floating point numbers out in the open.  I feel like this is the sort of thing that should be hidden away from polite society, so as not to scare the children. It's just indecent! A few years ago, I picked up the book Handbook of Floating Point Arithmetic, by Muller et al, which is fantastic.  Chapter 7 alone is worth the price of admission for me, so I definitely Read more >>
Title with apologies to the Wu-Tang Clan. In this post, we're going to be discussing: Rcpp R's C interface The importance of CPU caches Performance benchmarking If none of these things is of interest you and you clicked anyway, please enjoy this picture of a cat: Background Cache is like your computer's ram, only very small and 50-100 times faster to pull information from. Information in Read more >>
R is full of things that make "real programmers" (I dislike this term) turn their noses up in disgust. One of my favorites is the dump() function. It is...odd. I think the best way to introduce it to people is without context, because it's just so bizarre: That's right; it's actually dumping out R code that would allow you to generate the object. I have actually even found some intersting uses Read more >>
Most search engines have a "did you mean?" feature, where suggestions are given in the presence of likely typos. And while search engines use sophisticated NLP methods on their vast amounts of user-generated data to create accurate suggestions, you can get by with some ancient spellchecker techniques. So a little while ago, I did just that with the Rdym package for R. Example Usage of the package Read more >>
The Rfiglet Package For those who don't know what figlet is, it's a command line utility for creating ascii logos.  Rfiglet, therefore, is a set of R bindings for figlet. Works about like you would expect: There are over 150 fonts available, and you can see an example of each one in this Rfiglet package vignette. We can even use our ascii art with another ascii package that emulates Read more >>