Re: [Rd] set_seed

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 15 May 2007 05:40:02 +0100 (BST)

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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue 15 May 2007 - 04:41:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 May 2007 - 07:33:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.