Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Avoid R’s 2 GB string limit in read_cmdstan_csv()

クローズ
#808 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
r
領域
data

調査の方向性

read_cmdstan_csv()、特にエラーで示されている data.table::fread(cmd=...) の呼び出しから始め、out-of-sample predictions を含む generated quantities で失敗を再現してください。sampler diagnostics がどのように読み取られるかを追跡し、R の string limit を超える出力に対して必要な、サポート対象の処理または workaround を特定してください。報告されたケースで失敗しなくなるか、文書化された workaround があれば完了です。

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

説明

bug

I am running a model with some out of sample predictions in generated quantities.

When I sample from the model without the out of sample predictions, everything is fine and runs as expected.

When I include the predictions, I get the following error:

Error in data.table::fread(cmd = fread_cmd, select = sampler_diagnostics, : R character strings are limited to 2^31-1 bytes

Am I correct that this suggests a very long string is being generated somewhere? Is it possible to work around?

主要言語
R
スター
164
フォーク
69
平均マージ
1日 10時間
マージ済み PR(30日)
47

環境構築

はじめの一歩

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

stan-dev/cmdstanr のほかの issue

stan-dev/cmdstanr の issue をすべて見る

似ている issue

R の issue をもっと見る

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

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