tangleToR(DynDoc)
tangleToR()所属R语言包:DynDoc
An Sweave driver to retrieve code chunks
一个Sweave司机检索代码块
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A driver function for Sweave which will provide the user with code chunks from a vignette file within R. Functionality is very similar to that provided by Stangle except that an R object is returned as opposed to the chunks being written to a file.
驱动程序的功能Sweave这将为用户从河的功能内的小插曲文件的代码块是非常类似StangleR对象返回块被反对的除外写入到一个文件。
用法----------Usage----------
tangleToR()
值----------Value----------
An object of type chunkList is returned, which contains the code chunks from the vignette file.
一个对象的类型chunkList返回,其中包含从暗角文件的代码块。
作者(S)----------Author(s)----------
Jeff Gentry
参见----------See Also----------
Stangle,Sweave, chunkList
Stangle,Sweave,chunkList
举例----------Examples----------
require("utils")
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package="utils")
z <- Stangle(testfile,driver=tangleToR)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|