1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Rの覚書き:出力結果にgetOption("max.print") が表示された時

Last updated at Posted at 2020-11-07
  • TCGAのRNA-seqデータを元にして数種類のスコア値を各サンプルについて計算した
  • その結果は一つの変数に格納されており、これをsink( )を使ってタブ区切りテキストファイルとして出力した。
  • すると、一部のデータのみが表示されて、getOption("max.print") とともに、省略された残りのデータ数が記されていた。
  • 以下のコマンドで上限設定を外した。Rで扱える整数値は2147483647までなので、
R

old.op <- options(max.print=2147483647)
# このコマンドの後、変数への格納コマンドを実行すると、直接出力でもファイル保存でも全て表示された
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?