Benchmarking routine for R
