Advanced R Profiling with pbdPAPI
R has some extremely useful utilities for profiling, such as system.time(), Rprof(), the often overlooked tracemem(), and the rbenchmark package. But if you want more than just simple timings of code...
View Article"F-bombs" in GitHub Commits (warning: contains profanity)
Warning: this post contains profanity...arguably excessive amounts of it. If you are a humorless no-fun, you are recommended to proceed no further. Seriously though, the title is quite descriptive of...
View ArticleA New Use for Pipes in R: Forkbombs
Almost 3 years ago, I wrote about how to forkbomb with R. A quick recap is that a forkbomb is a low-tier, malicious misuse of a system; sort of a "baby's first denial of service". The idea is that you...
View ArticleIntroducing Rfiglet: ASCII logos from the comfort of R
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...
View ArticleA "did you mean?" Feature for R
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...
View ArticleOne of My Favorite R Oddities: dump()
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...
View ArticleCache Rules Everything Around Me
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...
View ArticleControlling a Remote R Session from a Local One
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...
View ArticlePerform co-operations with the coop package
About The coop package does co-operations: covariance, correlation, and cosine, and it does them quickly. The package is available on CRAN and GitHub, and has two vignettes: Introducing coop: Fast...
View ArticlePassword Input with getPass
As of this morning, the getPass package version 0.1-1 is available on CRAN. The package offers a portable way to read user input without echoing the text, for the purposes of reading passwords. Some...
View Article
More Pages to Explore .....