When you find an #rstats package that does exactly what you need, but it hasn't been updated in 10 years, doesn't allow for parallel processing, and nothing is vectorized... I'm gonna have to ask an LLM agent to re-write this, hu?