How to set random seed using RcppParallel and RcppArmadillo to permutation

オープン
#205 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, r

調査の方向性

No files, tests, or entry points are mentioned. Start by reviewing the RcppParallel and RcppArmadillo documentation for shuffle and random-number seeding, then compare their behavior with R's set.seed and withr::with_seed. Done means establishing a documented, reproducible seeding approach or clearly identifying the required support.

索引モデルが issue の本文から書いたものです。

説明

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 there a function like set.seed of R base to do this? Thank you.

主要言語
C++
スター
173
フォーク
60
平均マージ
1時間 55分
マージ済み PR(30日)
2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RcppCore/RcppParallel のほかの issue

RcppCore/RcppParallel の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。