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

R语言中文网

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

R语言R的脚本前端Rscript()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:12:55 | 显示全部楼层 |阅读模式
        R语言R的脚本前端Rscript()函数-中英文对照帮助文档

                                         By MicroRbt Martinez PhD

R语言函数名:Rscript()
R语言函数功能:R的脚本前端
来自资源库:基础库(R语言自带)
Rscript()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。

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

This is an alternative front end for use in #! scripts and other scripting applications.
这是用于#!脚本和其他脚本应用程序的替代前端。


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

Rscript [options] [-e expr [-e expr2 ...] | file] [args]

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

参数options介绍: a list of options, all beginning with --. These can be any of the options of the standard R front-end, and also those described in the details.
选项列表,所有选项均以--开头。这些可以是标准R前端的任何选项,也可以是详细说明中所述的那些选项。

参数expr, expr2介绍: R expression(s), properly quoted.
R表达式,正确引用。

参数file介绍: the name of a file containing R commands. - indicates <code>stdin</code> .
包含R命令的文件的名称。 -表示<code>stdin </ code>。

参数args介绍: arguments to be passed to the script in file.
要传递给file中的脚本的参数。


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

Rscript --help gives details of usage, and Rscript --version gives the version of Rscript.
Rscript --help提供用法的详细信息,而Rscript --version提供Rscript的版本。

Other invocations invoke the R front-end with selected options. This front-end is convenient for writing #! scripts since it is an executable and takes file directly as an argument. Options --no-echo -
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-21 00:40 , Processed in 0.029406 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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