Let us consider the current uniform sampling without replacement
algorithm. It resides in function do_sample in
https://svn.r-project.org/R/trunk/src/main/random.c
Its complexity is obviously O(n), where the sample is selected from
1...n, since the algorithm has to create a vector of length n. S
Hi Zach,
thanks for the report, I can reproduce the problem and confirm it is a
bug in R and will be fixed.
Hopefully it only impacts few users now. The workaround is to create the
short name for the directory where R is installed, using "fsutil file
setshortname" (for all elements of the pa