问题描述
谁能告诉我基本软件包和推荐软件包之间的区别是什么.
Can anyone tell me what is the difference between base and recommended packages.
如果有提到基本软件包和推荐软件包的链接,请提供链接.
If there is link where base and recommended packages are mentioned please provide the links.
推荐答案
差异实际上来自R Core和R代码的组织方式,例如在上游SVN存储库中.
The difference actually comes from R Core and the way the R code is organised, for example in the upstream SVN repository.
在src/library/
中,您具有所有基本"软件包:
In src/library/
, you have all 'base' packages:
- 基地
- 编译器
- 数据集
- 图片
- grDevices
- 网格
- 方法
- 平行
- 样条线
- 统计
- stats4
- tcltk
- 工具
- 翻译
- 实用程序.
- base
- compiler
- datasets
- graphics
- grDevices
- grid
- methods
- parallel
- splines
- stats
- stats4
- tcltk
- tools
- translations
- utils.
这些都不在CRAN上-它们仅作为'base R'的一部分存在.
And none of these are on CRAN -- they only exist as part of 'base R'.
您有一个目录src/library/Recommended
,默认情况下该目录为空,但可以通过使用帮助脚本(tools/rsync-recommended
)来填充,以从特殊目录获取CRAN推荐软件包的列表 (版本化)目录.对于R版本3.3.3,它是 CRAN/src/contrib/3.3.3/Recommended/ (将CRAN部分作为您的默认镜像).它包含
And you have a directory src/library/Recommended
which by default is empty, but can be filled by using a helper script (tools/rsync-recommended
) to get the list of Recommended packages off CRAN from a special (versioned) directory. For R version 3.3.3, it isCRAN/src/contrib/3.3.3/Recommended/ (with the CRAN part being your default mirror). It contains
- KernSmooth
- 质量
- 矩阵
- 启动
- 课程
- 集群
- codetools
- 外国
- 晶格
- mgcv
- nlme
- nnet
- rpart
- 空间
- 生存
- KernSmooth
- MASS
- Matrix
- boot
- class
- cluster
- codetools
- foreign
- lattice
- mgcv
- nlme
- nnet
- rpart
- spatial
- survival
编辑2016-09-06:在第一组中添加了utils
.
这篇关于r-base和r-recommended软件包之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!