Press "Enter" to skip to content

String Grouping and Vector/DataFrame Performance in R

Tomaz Kastrun does a bit of benchmarking:

After an interesting conversation on using data. frames or strings (as a vector), I have decided to put this to a simple benchmark test.

The problem is straightforward and simple: a MapReduce or Count with GroupBy.

Click through for three potential solutions to the problem and how they compare in terms of performance.