Rのリポジトリの1つに、CRAN (extras)というものがある。
これが何者なのか、Webではわかりやすい説明が見つけられなかったが、R FAQに以下の記述がある。
Some CRAN packages that do not build out of the box on Windows, require additional software, or are shipping third party libraries for Windows cannot be made available on CRAN in form of a Windows binary packages. Nevertheless, some of these packages are available at the “CRANextras” repository at https://www.stats.ox.ac.uk/pub/RWin/ kindly provided by Brian D. Ripley. Note that this repository is a default repository for recent versions of R for Windows.
これまた意味の取りにくい文章であるが以下のように解釈した。
Rのパッケージの中にはWindowsでビルドされていないため、CRANから直接入手できないものがある。そのようなパッケージはCRANextrasというリポジトリーにWindowsのバイナリ形式でパッケージが用意されている場合があるので、そちらからインストール可能である。最近のWindows版RはCRANextrasがデフォルトリポジトリとなっている。
なお、リポジトリはsetRepositories()関数で設定可能である。


コメント