3 ms·
As evidence for my position, and as evidence that I'm doing my best to fix these issues rather than idly carping, here's a bug report I submitted today: https:/
by nkurz 11y ago
As evidence for my position, and as evidence that I'm doing my best to fix these issues rather than idly carping, here's a bug report I submitted today: https://stat.ethz.ch/pipermail/r-devel/2015-September/071744.html https://stat.ethz.ch/pipermail/r-devel/2015-September/071744...
Some of my sampling code was running much slower than I thought made sense (even for R), and the strange part was that larger samples were sometimes 1000x faster than smaller samples. The answer was that R (wisely) uses two algorithms for sampling without replacement, but the cutoff between them is based on a fixed sample size of 1e7, rather than the percentage of population sampled. Perhaps there's a good reason?