EnvVar(base)
EnvVar()所属R语言包:base
Environment Variables
环境变量
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Details of some of the environment variables which affect an R session.
R会话的环境变量影响的一些细节。
Details
详情----------Details----------
It is impossible to list all the environment variables which can affect an R session: some affect the OS system functions which R uses, and others will affect add-on packages. But here are notes on some of the more important ones. Those that set the defaults for options are consulted only at startup (as are some of the others).
这是不可能列出所有的环境变量,这可能会影响R会话:一些影响R使用的OS系统的功能,以及其他会影响附加软件包。但这里有一些更重要的票据。那些设置选项的默认值是仅在启动时(以及其他)咨询。
HOME: The user's "home" directory.
HOME:用户的家的目录。
LANGUAGE: Optional. The language(s) to be used for
LANGUAGE:可选。 (S)的语言将用于
LC_ALL: (etc) Optional. Use to set various aspects of
LC_ALL:(等)可选。用它来设置各方面的
MAKEINDEX: The path to makeindex. If unset to a value determined when R was built. Used by the emulation mode of texi2dvi and
MAKEINDEX:makeindex路径。如果未设置值决定,当R建成。使用仿真模式和texi2dvi
R_BATCH: Optional – set in a batch session, that is one started by R CMD BATCH. Most often set to "", so test by something like
R_BATCH:可选 - 在批处理会议设置,这是一个开始R CMD BATCH。最常见的设置"",所以类似的试验
R_BROWSER: The path to the default browser. Used to
R_BROWSER:默认浏览器的路径。用于
R_COMPLETION: Optional. If set to FALSE,
R_COMPLETION:可选。如果FALSE,
R_DEFAULT_PACKAGES: A comma-separated list of packages
R_DEFAULT_PACKAGES:一个逗号分隔的列表的包
R_DOC_DIR: The location of the R "doc"
R_DOC_DIR:位置的Rdoc
R_ENVIRON: Optional. The path to the site environment
R_ENVIRON:可选。现场环境的路径
R_GSCMD: Optional. The path to Ghostscript, used by dev2bitmap, bitmap and
R_GSCMD:可选。的,dev2bitmap,bitmap“使用Ghostscript的路径
R_HISTFILE: Optional. The path of the history file: see Startup. Consulted at startup and when the history is
R_HISTFILE:可选。历史文件的路径:看到启动。在启动和咨询历史
R_HISTSIZE: Optional. The maximum size of the history file, in lines. Exactly how this is used depends on the interface. For Rgui it controls the number of lines saved to the history file: the size of the history used in the session is controlled by the console customization: see Rconsole.
R_HISTSIZE:可选。行中规模最大,历史文件。究竟如何使用这取决于接口上。为Rgui它控制保存的历史文件的行数:在会议中使用的历史的大小是由控制台定制控制:看到Rconsole。
R_HOME: The top-level directory of the R
R_HOME:顶层目录的R
R_INCLUDE_DIR: The location of the R "include"
R_INCLUDE_DIR:位置的Rinclude
R_LIBS: Optional. Used for initial setting of
R_LIBS:可选。用于初始设置
R_LIBS_SITE: Optional. Used for initial setting of
R_LIBS_SITE:可选。用于初始设置
R_LIBS_USER: Optional. Used for initial setting of
R_LIBS_USER:可选。用于初始设置
R_PAPERSIZE: Optional. Used to set the default for options("papersize"), e.g. used by
R_PAPERSIZE:可选。 options("papersize"),例如用于设置默认使用
R_PDFVIEWER: The path to the default PDF viewer. Used
R_PDFVIEWER:默认的PDF阅读器的路径。使用
R_PLATFORM: The platform – a string of the form
R_PLATFORM:平台 - 一个字符串的形式
R_PROFILE: Optional. The path to the site profile
R_PROFILE:可选。站点配置文件的路径
R_RD4PDF: Options for pdflatex processing of
R_RD4PDF:选项pdflatex加工的
R_SHARE_DIR: The location of the R "share"
R_SHARE_DIR:位置的Rshare
R_TEXI2DVICMD: The path to texi2dvi. Defaults to the value of TEXI2DVI, and if that is unset to a value determined when R was built.
R_TEXI2DVICMD:texi2dvi路径。默认值TEXI2DVI,如果没有设置的值决定,当R始建。
R_UNZIPCMD: The path to unzip. Sets the initial value for options("unzip") on a Unix-alike
R_UNZIPCMD:unzip路径。设置初始值在Unix相似的options("unzip")
R_ZIPCMD: The path to zip. Used by
R_ZIPCMD:zip路径。使用
TMPDIR, TMP, TEMP: Consulted (in that order) when setting the temporary directory for the session: see tempdir. TMPDIR is also used by some of the
TMPDIR,TMP,TEMP:(按顺序)咨询时,该届会议的临时目录设置:tempdir。 TMPDIR也被用于一些
TZ: Optional. The current timezone. See Sys.timezone for the system-specific
TZ:可选。当前时区。看到Sys.timezone特定系统
(and more). Optional. Settings for download.file:
(及以上)。可选的。对于设置download.file:
特定于Windows----------Windows-specific----------
Some Windows-specific variables are
一些Windows特定变量
GSC: Optional: the path to Ghostscript, used if
GSC:可选:Ghostscript的路径,如果使用
R_USER: The user's "home" directory. Set by
R_USER:用户的家的目录。设置
TZDIR: Optional. The top-level directory of the
TZDIR:可选。的顶级目录
参见----------See Also----------
Sys.getenv and Sys.setenv to read and set environmental variables in an R session.
Sys.getenv和Sys.setenv读取和设置环境变量在R会话。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|