Recently, I run into performance issue when fitting a linear model together with a resampling scheme and a tuning grid (via caret). The dataset was recently large - some 200k rows and approx. 20 columns (nycflights13 train). Still, I was suprised that my machine got stuck during the computation. Now I wonder whether I ran into memory constraints (16BG on my machine), or whether some other stuff went wrong. Load packages library(tidyverse) library(caret) library(stringr) Load data data("flights", package = "nycflights13") glimpse(flights) #> Observations: 336,776 #> …