Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between RcppArmadillo::sample and the sample in r #278

Closed
hyqsumile opened this issue Dec 4, 2019 · 2 comments
Closed

Inconsistency between RcppArmadillo::sample and the sample in r #278

hyqsumile opened this issue Dec 4, 2019 · 2 comments

Comments

@hyqsumile
Copy link

Hi, I find that the new version of R has changed the implementation of function sample() (see: https://community.rstudio.com/t/getting-different-results-with-set-seed/31624/5). But the RcppArmadillo::sample still follows the old version. By default, the content in this page(https://gallery.rcpp.org/articles/using-the-Rcpp-based-sample-implementation/) is outdated and can not be reproduced in the updated R studio 3.6.x. Hopefully that this could be updated. Thanks in advance.

@rstub
Copy link

rstub commented Dec 4, 2019

This is a known issue, c.f. #250

@hyqsumile
Copy link
Author

Thanks! I will close this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants