[Rd] set_seed

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 15 06:40:02 CEST 2007


On Mon, 14 May 2007, Tong Wang wrote:

> Hi, All:

>   It seemed set_seed is usable only when Rmath is used as a standalone 
> library, then what should I use when I need to link to R.dll.

When you link to R.dll you are running R, so you can call set.seed() via 
eval or via do_setseed.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list