2
票
RScriptを経由したヘルプファイルの参照
質問者です。
コメントで頂きましたアドバイスの通り、
options(help_type = "html");help(print);Sys.sleep(1);
を、RScriptに送る事で要望通りの結果を得ることができました。
ただし、-eオプションでの実行ではブラウザが立ち上がらなかった為、スクリプトを一時ファイルへ書き出して迂回する事で実現できました。
- 71
1
票
Rscript からのパッケージ読み込み
Rscriptのマニュアルに説明がございました。
https://stat.ethz.ch/R-manual/R-devel/library/utils/html/Rscript.html
一部抜粋致します。
Additional options accepted (before file or args) are
--default-packages=list
where ...
Only top scored, non community-wiki answers of a minimum length are eligible