Created
January 19, 2019 02:16
-
-
Save jlmelville/8b7cd2133fc590051536e83d31e4ef78 to your computer and use it in GitHub Desktop.
generating a seed for use in Rcpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # http://rorynolan.rbind.io/2018/05/08/rcsetseed/ | |
| get_seed <- function() { | |
| sample.int(.Machine$integer.max, 1) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment