[Rcpp-devel] repeatable random numbers

Zhongyi Yuan zhongyi-yuan at uiowa.edu
Fri Sep 2 00:35:27 CEST 2011


On Thu, Sep 1, 2011 at 2:35 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> Please do not abuse this list as a substitute for doing your independent
> study and reading.
>

Thanks Dirk and sorry for causing such feeling. That makes me guilty. Really
hesitated before I asked...

Zhongyi


>
> Dirk
>
>
> | Zhongyi
> |
> | On Thu, Sep 1, 2011 at 12:15 PM, Dirk Eddelbuettel <edd at debian.org>
> wrote:
> |
> |
> |     I should have written that quick function as follows:
> |
> |       rngs <- cxxfunction(signature(), plugin="Rcpp",
> |                           body="RNGScope z; return Rcpp::rnorm
> |     (5,0,1);")
> |
> |     You _do_ want RNGScope around; my bad for omitting it in the previous
> post.
> |
> |     Dirk
> |
> |     --
> |     Two new Rcpp master classes for R and C++ integration scheduled for
> |     New York (Sep 24) and San Francisco (Oct 8), more details are at
> |     http://dirk.eddelbuettel.com/blog/2011/08/04#
> |     rcpp_classes_2011-09_and_2011-10
> |     http://www.revolutionanalytics.com/products/training/public/
> |     rcpp-master-class.php
> |
> |
>
> --
> Two new Rcpp master classes for R and C++ integration scheduled for
> New York (Sep 24) and San Francisco (Oct 8), more details are at
>
> http://dirk.eddelbuettel.com/blog/2011/08/04#rcpp_classes_2011-09_and_2011-10
>
> http://www.revolutionanalytics.com/products/training/public/rcpp-master-class.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110901/46434980/attachment.htm>


More information about the Rcpp-devel mailing list