The crux is that R is slow at everything except vectorized operations. So, if you're modeling any kind of backtest on an event-based/looping...
R is perfectly capable. When something is slow, just use Rcpp. Check the https://cran.r-project.org/web/views/HighPerformanceComputing.html list...
Separate names with a comma.