Skip to content
Back to formatted view

Raw Message

Message-ID: <BAY103-F367BE42EF400A7ED46D038D3330@phx.gbl>
Date: 2005-04-12T03:04:54Z
From: Weijie Cai
Subject: where is internal function of sample()?

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.

Thanks