SweaveTeXFilter(tools)
SweaveTeXFilter()所属R语言包:tools
Strip R code out of Sweave file
地带R代码Sweave文件
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function blanks out code chunks and Noweb markup in an Sweave input file, for spell checking or other uses.
Sweave输入文件中的代码块和Noweb标记的空白出此功能,拼写检查或其他用途。
用法----------Usage----------
SweaveTeXFilter(ifile, encoding = "unknown")
参数----------Arguments----------
参数:ifile
Input file or connection.
输入文件或连接。
参数:encoding
Text encoding to pass to readLines.
文字编码传递到readLines。
Details
详情----------Details----------
This function blanks out all Noweb markup and code chunks from an Sweave input file, leaving behind the LaTeX source, so that a LaTeX-aware spelling checker can check it and report errors in their original locations.
出所有Noweb标记和代码块,从Sweave的输入文件,此功能空白留下的LaTeX源,使乳胶感知的拼写检查可以检查和报告错误,在原来的位置。
值----------Value----------
A character vector which if written to a file, one element per line, would duplicate the text elements of the original Rd file.
如果写入到一个文件的一个特征向量,每行一个元素,将复制的原号文件的文本元素。
作者(S)----------Author(s)----------
Duncan Murdoch
参见----------See Also----------
aspell, for which this is used with filter="Sweave".
aspell,这是用filter="Sweave"。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|