Title: How to set random seed using RcppParallel and RcppArmadillo to permutation · Issue #205 · RcppCore/RcppParallel · GitHub
Open Graph Title: How to set random seed using RcppParallel and RcppArmadillo to permutation · Issue #205 · RcppCore/RcppParallel
X Title: How to set random seed using RcppParallel and RcppArmadillo to permutation · Issue #205 · RcppCore/RcppParallel
Description: Good Day I am using RcppParallel and the shuffle function of RcppArmadillo to shuffle vec, But the result is not repeatable even I used the set.seed of R or the withr::with_seed or arma::set_seed in the C++ codes. To be reproducible, is ...
Open Graph Description: Good Day I am using RcppParallel and the shuffle function of RcppArmadillo to shuffle vec, But the result is not repeatable even I used the set.seed of R or the withr::with_seed or arma::set_seed i...
X Description: Good Day I am using RcppParallel and the shuffle function of RcppArmadillo to shuffle vec, But the result is not repeatable even I used the set.seed of R or the withr::with_seed or arma::set_seed i...
Opengraph URL: https://github.com/RcppCore/RcppParallel/issues/205
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to set random seed using RcppParallel and RcppArmadillo to permutation","articleBody":"Good Day\r\n\r\nI am using `RcppParallel` and the `shuffle` function of `RcppArmadillo` to shuffle `vec`, But the result is not repeatable even I used the `set.seed` of `R` or the `withr::with_seed` or `arma::set_seed` in the `C++` codes. To be reproducible, is there a function like `set.seed` of `R` base to do this? Thank you.","author":{"url":"https://github.com/xiangpin","@type":"Person","name":"xiangpin"},"datePublished":"2023-10-25T14:25:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/205/RcppParallel/issues/205"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:adcdb5dd-e52a-3f34-a80e-1457806e2177 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97A4:25EF8D:2919EF1:3746E2A:697076F6 |
| html-safe-nonce | 63ae1675521c5a947d1e3067a5156f788ef10f11ad8ed19cb6a6126b3b03f94e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0E0OjI1RUY4RDoyOTE5RUYxOjM3NDZFMkE6Njk3MDc2RjYiLCJ2aXNpdG9yX2lkIjoiODUyNDY2Njg0OTEwNDc4NzE5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 908ed3e9db9ac4266540b7a98642a9f0bf8b7f271ac5d1176eb8cf7efead27ce |
| hovercard-subject-tag | issue:1961558497 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RcppCore/RcppParallel/205/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f129361539bc52815415b790fba73a89d4b13da73f89f6ad260055b0774d864/RcppCore/RcppParallel/issues/205 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f129361539bc52815415b790fba73a89d4b13da73f89f6ad260055b0774d864/RcppCore/RcppParallel/issues/205 |
| og:image:alt | Good Day I am using RcppParallel and the shuffle function of RcppArmadillo to shuffle vec, But the result is not repeatable even I used the set.seed of R or the withr::with_seed or arma::set_seed i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xiangpin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/RcppCore/RcppParallel git https://github.com/RcppCore/RcppParallel.git |
| octolytics-dimension-user_id | 5811336 |
| octolytics-dimension-user_login | RcppCore |
| octolytics-dimension-repository_id | 21576989 |
| octolytics-dimension-repository_nwo | RcppCore/RcppParallel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21576989 |
| octolytics-dimension-repository_network_root_nwo | RcppCore/RcppParallel |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width