getVignetteCode(DynDoc)
getVignetteCode()所属R语言包:DynDoc
Functionality to manage code chunks from a vignette
功能代码块管理从一个小插曲
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These functions allow for processing and management of vignette code chunks within R. Users can directly manipulate the code chunks, as well as evaluate them at their option.
这些功能允许处理和管理的暗角代码块内河用户可以直接操作的代码块,以及评估他们的选项。
用法----------Usage----------
getVignetteCode(vigPath, evalEnv = new.env())
editVignetteCode(vigCode, pos, code)
参数----------Arguments----------
参数:vigPath
File path of vignette file to process
档案的暗角文件路径处理
参数:evalEnv
An environment to use for chunk evaluations
使用大块的评价环境
参数:vigCode
The vignetteCode object to edit
vignetteCode对象编辑
参数:pos
The position of the code chunk to edit
编辑的代码块的位置
参数:code
The new code chunk
新的代码块
Details
详情----------Details----------
getVignetteCode: This function will call Stangle using the tangleToR driver in order to retrieve the code chunks from the specified vignette file. It will then compile the other pertinent information and return a new vignetteCode object.
getVignetteCode:此函数将调用Stangle使用tangleToR司机为了检索从指定的暗角文件的代码块。然后,它会编译的其他相关信息,并返回一个新的vignetteCode对象。
editVignetteCode: This function will edit a code chunk contained within a vignetteCode and return a new object representing that change. The evaluation environment in the new object is a copy of the original as well, *not* the same environment.
editVignetteCode:此功能将编辑一个代码块包含在vignetteCode返回一个新的对象,表示改变。在新的对象的评估环境,是一个副本原件,以及*不*相同的环境。
作者(S)----------Author(s)----------
Jeff Gentry
参见----------See Also----------
Sweave,vignetteCode,tangleToR
Sweave,vignetteCode,tangleToR
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|