dqrng v0.2.1

May 16, 2019

[This article was first published on R on Ralf Stubner, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

I have blogged
before, but I
forgot to write about the v0.2.0 release, even though that brought a lot of
changes including the
fast sampling methods
to CRAN:

  • Add R side support for selecting multiple streams for parallel usage.
  • Implement long_jump() for Xo(ro)shiro as alternative to jump()
    providing fewer streams with longer period.
  • Handle R’s RNG scope properly during initialisation.
  • New functions dqsample and dqsample.int using an unbiased sampling
  • Use R_unif_index() instead of unif_rand() to retrieve random data
    from R’s RNG in generateSeedVectors().
  • Scalar RNGs in the C++ API: dqrng::runif, dqrng::rnorm and dqrng::rexp

The list of changes for v0.2.1, which made it onto CRAN today, is much shorter:

  • Make template specialisations inline and include required standard headers (Aaron Lun in #29 fixing #28)
  • Add workaraound for new C++ compiler with old libc (#30 fixing #27)
  • Update maintainer’s email address

To leave a comment for the author, please follow the link and comment on their blog: R on Ralf Stubner.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)