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: github.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:06a2f6e3-f4c1-c629-91f2-fb0f4dd828a7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B634:3EFF91:847FA8:B0FBC2:69716366 |
| html-safe-nonce | 610f978cfa23ff2e20525851a75808e46dd65de977dc2f5d26e700bc84808f42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjM0OjNFRkY5MTo4NDdGQTg6QjBGQkMyOjY5NzE2MzY2IiwidmlzaXRvcl9pZCI6IjI3NzQ1Mzg2NTcyNTc4NDE1MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c42eb365a1d734a94dc06e543d82c514d358f1ded39106ddf90a50d1ab0fa111 |
| 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 | 873364ab8c3892d45b3a7f6c012702ee84934662b47c9312d99f8b31dd9c2668 |
| 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 | fa6ed180534301da051f8e5cb00f3a1dfab789ec |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width