Skip to content
R Benchmarkings
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
figure
.gitattributes
.gitignore
RBenchmarkings.R
RBenchmarkings.Rmd
RBenchmarkings.md
README.md

README.md

RBenchmarkings

R Benchmarkings

This document compares the performance in doing a task by means of different approaches in R. For doing so, the microbenchmark package is used, measuring the time spent by each approach. The results are shown numerically and plotting them using ggplot2.

The goal is to elucidate which is the best method to accomplish a certain task.

How to use

Open the RBenchmarkings.md file to see the tests and the results they produce.

You can run these benchmarks in your own computer by downloading the RBenchmarkings.Rmd file and running it. To do so, you will need R and the knitr, ggplot2 and microbenchmark packages. To some test you will also need the compiler, Rcpp and inline packages, and to compile C++ code the proper tools must be installed in your system: the C++ compiler chain in GNU/Linux, the Xcode software in OS X, and Rtools in Windows.

In you only want the R code, get the RBenchmarkings.R file.

You can’t perform that action at this time.