找回密码
 注册
查看: 315|回复: 0

R语言 sessionTools包 saveSession()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:32:04 | 显示全部楼层 |阅读模式
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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-20 22:52 , Processed in 0.020549 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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