设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 760|回复: 0

R语言安装附加软件包R_INSTALL_STAGED()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:13:40 | 显示全部楼层 |阅读模式
        R语言安装附加软件包R_INSTALL_STAGED()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:R_INSTALL_STAGED()
R语言函数功能:安装附加软件包
来自资源库:基础库(R语言自带)
R_INSTALL_STAGED()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

描述-----Description-----

Utility for installing add-on packages.
用于安装附加软件包的实用程序。


使用方法-----Usage-----

R CMD INSTALL [options] [-l lib] pkgs

参数-----Arguments-----

参数pkgs介绍: a space-separated list with the path names of the packages to be installed. See Details .
用空格分隔的列表,其中包含要安装的软件包的路径名。请参阅Details。

参数lib介绍: the path name of the R library tree to install to. Also accepted in the form --library=lib. Paths including spaces should be quoted, using the conventions for the shell in use.
要安装到的R库树的路径名。也以--library=lib的形式接受。应该使用所用外壳的约定对包含空格的路径进行引用。

参数options介绍: a space-separated list of options through which in particular the process for building the help files can be controlled. Use R CMD INSTALL --help for the full current list of options.
用空格分隔的选项列表,通过这些列表尤其可以控制构建帮助文件的过程。使用R CMD INSTALL --help作为完整的当前选项列表。


详情-----Details-----

This will stop at the first error, so if you want all the pkgs to be tried, call this via a shell loop.
这将在第一个错误时停止,因此,如果您想尝试所有的pkgs,请通过Shell循环调用它。

If used as R CMD INSTALL pkgs without explicitly specifying lib, packages are installed into the library tree rooted at the first directory in the library path which would be used by R run in the current environment.
如果用作R CMD INSTALL pkgs时未显式指定lib,则将程序包安装到以库路径中第一个目录为根的库树中,当前环境中运行的R会使用这些包。

To install into the library tree <var>lib</var>, use R CMD INSTALL -l <var>lib</var> <var>pkgs</var>. This prepends lib to the library path for duration of the install, so required packages in the installation directory will be found (and used in preference to those in other libraries).
要安装到库树<var>lib</var>中,请使用R CMD INSTALL -l <var>lib</var> <var>pkgs</var>。这会将lib附加到安装路径的库路径中,因此将在安装目录中找到所需的软件包(并优先于其他库中的软件包使用)。

It is possible that environment variable TMPDIR will need to be set (although R CMD tries to set it suitably otherwise): use forward slashes and no spaces for the path to a writable directory.
可能需要设置环境变量TMPDIR(尽管R CMD尝试以其他方式进行适当设置):使用正斜杠,并且到可写目录的路径不要使用空格。

Both lib and the elements of pkgs may be absolute or relative path names of directories. pkgs may also contain names of package archive files: these are then extracted to a temporary directory. These are tarballs containing a single directory, optionally compressed by gzip, bzip2, xz or compress. Finally, zipped binary packages (as created by R CMD INSTALL --build) can be supplie
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-20 21:46 , Processed in 0.025957 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表