[Rd] uniform sampling without replacement algorithm

2017-10-17 Thread Pavel S. Ruzankin
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

Re: [Rd] Bug: Issues on Windows with SFN disabled

2017-10-17 Thread Tomas Kalibera
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