Package: zigg Type: Package Title: Lightweight Interfaces to the 'Ziggurat' Pseudo Random Number Generator Version: 0.0.2 Date: 2025-02-07 Authors@R: person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "edd@debian.org", comment = c(ORCID = "0000-0001-6419-907X")) Description: The 'Ziggurat' pseudo-random number generator (or PRNG), introduced by Marsaglia and Tsang (2000, ) and further improved by Leong et al (2005, ), offers a lightweight and very fast PRNG for the normal, exponential, and uniform distributions. It is provided here in a small zero-dependency package. It can be used from R as well as from 'C/C++' code in other packages as is demonstrated by four included sample packages using four distinct methods to use the PRNG presented here in client package. The implementation is influenced by our package 'RcppZiggurat' which offers a comparison among multiple alternative implementations but presented here in a lighter-weight implementation that is easier to use by other packages. The PRNGs provided are generally faster than the ones in base R: on our machine, the relative gains for normal, exponential and uniform are on the order of 7.4, 5.2 and 4.7 times faster than base R. However, these generators are of potentially lesser quality and shorter period so if in doubt use of the base R functions remains the general recommendation. URL: https://github.com/eddelbuettel/zigg BugReports: https://github.com/eddelbuettel/zigg/issues License: GPL (>= 2) Encoding: UTF-8 RoxygenNote: 6.0.1 Repository: https://eddelbuettel.r-universe.dev Date/Publication: 2026-03-25 01:53:31 UTC RemoteUrl: https://github.com/eddelbuettel/zigg RemoteRef: HEAD RemoteSha: 41d9c243f972e2aeb53fb3cb74b9237c10304d0c NeedsCompilation: yes Packaged: 2026-06-23 17:31:42 UTC; root Author: Dirk Eddelbuettel [aut, cre] (ORCID: ) Maintainer: Dirk Eddelbuettel