saveSession(sessionTools)
saveSession()所属R语言包:sessionTools
Save an R Session
保存的R会话
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function saves all objects in stored in the global workspace, and also saves the session info object that describes other information about the session. It is a thin wrapper on the save method.
此功能可节省存储在全局工作空间中的所有对象,同时也节省了会话信息的对象,介绍了其他有关会议。这是一个瘦包装上的保存方法。
用法----------Usage----------
saveSession(..., list = character(), file="session.RData", version = NULL, envir = .GlobalEnv)
参数----------Arguments----------
参数:list
A character vector containing the names of objects to be saved.
字符向量,包含要保存的对象的名称。
参数:...
the names of the objects to be saved (as symbols or character strings).
要保存的对象的名称(作为符号或字符串)。
参数:file
a (writable binary-mode) connection or the name of the file where the data will be saved (when tilde expansion is done). Must be a file name for version = 1.
(可写的二进制模式)连接或文件中的数据将被保存(波浪线扩展完成)的名称。必须是一个文件名,版本= 1。
参数:version
the workspace format version to use. NULL specifies the current default format. The version used from R 0.99.0 to R 1.3.1 was version 1. The default format as from R 1.4.0 is version 2.
工作空间格式的版本使用。 NULL指定的默认格式。使用的版本0.99.0从R到R 1.3.1版本1。从R 1.4.0版本的默认格式。
参数:envir
environment to search for objects to be saved.
搜索对象被保存的环境。
Details
详细信息----------Details----------
This function is a thin wrapper on top of save.image(). The only difference being that the sessionInfo object is first stored in the global environment as an object named .sessionInfo.
这个函数是一个薄薄的包装之上的save.image()。唯一的区别是,sessionInfo对象首先被储存在全球环境中作为名为。sessionInfo的对象。
值----------Value----------
This method is called for it's side-effects, which is a file storing the current session.
这种方法被称为它的副作用,这是一个文件存储在当前会话。
(作者)----------Author(s)----------
Matthew D. Furia <a href="mailto:matt.furia@sagebase.org">matt.furia@sagebase.org</a>
<a href="https://github.com/MattNapsAlot">https://github.com/MattNapsAlot</a>
参见----------See Also----------
restoreSession, sessionSummary, save
restoreSession,sessionSummary,save
实例----------Examples----------
## Not run: [#不运行:]
## save the session for later use[#保存会话,以备后用]
saveSession(file="sessionInfo.rbin")
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|