[R] where is internal function of sample()?

From: Weijie Cai <wcai11_at_hotmail.com>
Date: Tue 12 Apr 2005 - 13:04:54 EST

Hi there,

I am trying to write a c++ shared library for R. I need a function which has the same functionality as sample() in R, i.e., does permutation, sample with/without replacement. Does R have internal sample routine so that I can call it directly?

I did not find it in R.h, Rinternal.h.


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Apr 12 13:10:09 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:07 EST