xlcRestore(XLConnect)
xlcRestore()所属R语言包:XLConnect
Restoring objects from Excel files
从Excel文件中恢复对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Restores objects from Excel files that have been dumped using xlcDump.
恢复已被倾倒的Excel文件,使用xlcDump的对象。
用法----------Usage----------
xlcRestore(file = "dump.xlsx", pos = -1, overwrite = FALSE)
参数----------Arguments----------
参数:file
Excel file from which to restore objects. This is normally a file that has been produced with xlcDump. Defaults to "dump.xlsx".
Excel文件中恢复对象。这通常是一个文件,该文件的制作得到了xlcDump。默认为"dump.xlsx"的。
参数:pos
Environment into which to restore objects. Can be specified either as an integer specifying the position in the search list, as a character naming an element in the search list or as an environment. Defaults to -1 which refers to the current environment.
环境问题纳入恢复对象。可以指定的integersearch列表中指定的位置,作为一个character命名的search列表中的一个元素或作为environment。默认为-1是指目前的环境。
参数:overwrite
logical specifying if data objects should be overwritten if they already exist inside the environment pos.
logical如果指定的数据对象应覆盖如果它们已经存在里面的环境pos。
值----------Value----------
Named logical vector specifying if objects have been restored or not. An object may not be restored because there was an issue with reading the data from the worksheet or the object already existed in the environment pos (and overwrite = FALSE).
名为logical如果对象已恢复或向量确定。一个对象可能无法还原,因为有一个问题,从表中读取数据或对象已经存在于环境pos(overwrite = FALSE)。
(作者)----------Author(s)----------
Martin Studer<br>
Mirai Solutions GmbH <a href="http://www.mirai-solutions.com">http://www.mirai-solutions.com</a>
参见----------See Also----------
xlcDump, readNamedRegion, readWorksheet, readNamedRegionFromFile,<br> readWorksheetFromFile, xlcEdit
xlcDump,readNamedRegion,readWorksheet,readNamedRegionFromFile,参考readWorksheetFromFile,xlcEdit
实例----------Examples----------
require(datasets)
xlcDump(c("airquality", "CO2", "iris", "PlantGrowth", "swiss"),
file = "myDump.xlsx", pos = "package:datasets")
xlcRestore(file = "myDump.xlsx", overwrite = TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|