csgillespie / efficientR

Efficient R programming: a book
https://csgillespie.github.io/efficientR/
Other
721 stars 375 forks source link

8.6 CPU `get_datatable` #290

Open mikerspencer opened 4 years ago

mikerspencer commented 4 years ago

Function on line 220, chapter 8 (https://github.com/csgillespie/efficientR/blob/397f108ff0314fcdc67c6d05c0e87a2ea2f078a4/08-hardware.Rmd#L220) doesn't work for me. There is this function in a related package, but it requires arguments for which group of tests you want the top CPU list for:

benchmarkmeData::get_datatable_past("matrix_fun")

get_datatable_past also requires the DT package to run.

Robinlovelace commented 4 years ago

Thanks for the report. As author of benchmarkme I think @csgillespie is well-equipped to address this. Really want to update the book but it's a question of finding the time!