Articles by wrathematics

R at 12,000 Cores

October 16, 2012 | wrathematics

I am very happy to introduce a new set of packages that has just hit the CRAN. We are calling it the Programming with Big Data in R Project, or pbdR for short (or as I like to jokingly refer to it, 'pretty bad for dyslexics'). You can find out ... [Read more...]

Some Quirks of the R Language

August 14, 2012 | wrathematics

R is my favorite programming language.  It's just so useful for getting work done.  Sometimes people will complain that R is a difficult language.  To me, this begs the questions:  difficult for what?  And for whom?  I personally think R is just about the easiest thing in the world for ... [Read more...]

Autoplot: Graphical Methods with ggplot2

June 11, 2012 | wrathematics

Background As of ggplot2 0.9.0 released in March 2012, there is a new generic function autoplot.  This uses R's S3 methods (which is essentially oop for babies) to let you have some simple overloading of functions.  I'm not going to get deep into oop, because honestly we don't need to. The idea ... [Read more...]

Project Euler…in LaTeX?

April 23, 2012 | wrathematics

I've been joking for a while now that I was going to start solving project euler problems in LaTeX.  Then today I finally did one.  So let's talk about solving Project Euler problem number 1 (the easy one) using only LaTeX. The problem asks you to sum up all the positive ... [Read more...]

Statistical Software Popularity on Google Scholar

April 12, 2012 | wrathematics

Background (probably boring) Several months ago, my boss and I were discussing how he got the data for his software popularity article; the rest of the background discussion pertains to those plots, so I would recommend going over to take a look before continuing on (or just skip to the ... [Read more...]

A No BS Guide to the Basics of Parallelization in R

March 15, 2012 | wrathematics

What is parallelization?Parallelization is using multiple processing cores to, hopefully, make your programs run faster than serial code, which is the use of just one processing core. Parallel code is not always faster than its serial counterpart (but if you're doing it right and you're careful about what you ... [Read more...]

Sorting in R as Inefficiently as Possible

January 12, 2012 | wrathematics

My last post of substance was all about improving your performance using R to answer programming questions that might be asked during a job interview.  So let's say you nailed the interview and got the job, but you desperately want to be fired for grand incompetence.  Never fear, your pal ... [Read more...]

Honing Your R Skills for Job Interviews

January 9, 2012 | wrathematics

My time as a grad student will soon draw to a close. With this comes the terrifying realisation that I'm going to start applying for jobs and, hopefully, interviewing soon, forever leaving my comfortable security blanket of academia. With that horrible thought in mind, I've been doing some poking around ... [Read more...]

R Fork Bomb

September 14, 2011 | wrathematics

So maybe I’m a strange guy, but I think fork bombs are really funny.  What’s a fork bomb?  The basic premise is that you spawn a process that spawns a process that spawns a process…, ad infinitum. The most beautiful example of a fork bomb, and really one ... [Read more...]

How Much of R is Written in R?

August 26, 2011 | wrathematics

My boss sent me an email (on my day off!) asking me just how much of R is written in the R language.  This is very simple if you use R and a Unix-like system.  It also gives me a good excuse to defend the title of this blog.  It’... [Read more...]

Prime testing function in R

August 20, 2011 | wrathematics

I was hoping to begin tinkering a bit with the multicore package in R beyond some extremely trivial examples.  Thanks to a combination of R’s dumb quirkiness (for example, being worthless on loops), my poor planning, and general bad programming, my Saturday afternoon tinkering project is ultimately worthless in ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)