An open API service indexing awesome lists of open source software.

https://github.com/mclements/rcpprngstream

R package for using the RngStream C++ library
https://github.com/mclements/rcpprngstream

cpp r random-number-generators rcpp

Last synced: about 2 months ago
JSON representation

R package for using the RngStream C++ library

Awesome Lists containing this project

README

          

#+TITLE: RcppRngStream package for R

#+OPTIONS: toc:nil
#+OPTIONS: num:nil
#+OPTIONS: html-postamble:nil

# Babel settings
#+PROPERTY: session *R-org*
# +PROPERTY: cache yes
# +PROPERTY: results output graphics
# +PROPERTY: exports both
# +PROPERTY: tangle yes
# +PROPERTY: exports both

* Outline

This is a test-bed for making the RngStream package available for use in other Rcpp packages. We want to manipulate the seeds at the C++ level and use R's non-uniform random numbers.

The main challenge is being able to use LinkingTo: in the DESCRIPTION of a test package with the static variables.

Can we use Rcpp attributes for registering the functions?

Work in progress...