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

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

[复制链接]
发表于 2012-10-1 10:56:45 | 显示全部楼层 |阅读模式
XMLSource(tm)
XMLSource()所属R语言包:tm

                                        XML Source
                                         XML源代码

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Constructs a source for an <acronym>XML</acronym> file.
构造的<acronym> XML</首字母缩写文件的来源。


用法----------Usage----------


XMLSource(x, parser, reader, encoding = "UTF-8")



参数----------Arguments----------

参数:x
Either a character identifying a file or a connection.
一个character确定一个文件或connection。


参数:parser
A function accepting an <acronym>XML</acronym> tree (as delivered by xmlTreeParse in package XML) as input and returning a list of <acronym>XML</acronym> elements.
Afunction接受的<acronym>的XML </首字母缩写树(交付xmlTreeParse包XML)作为输入并返回一个列表<acronym> XML </首字母缩写>元素。


参数:reader
A function capable of turning <acronym>XML</acronym> elements as returned by parser into a subclass of TextDocument.
Afunction能够把<acronym> XML </首字母缩写元素返回parser到的一个子类TextDocument。


参数:encoding
A character giving the encoding of x.
Acharacter的编码x。


值----------Value----------

An object of class XMLSource which extends the class Source representing an <acronym>XML</acronym> file.
对象的类XMLSource扩展类Source的同比<acronym>XML </首字母缩写>文件。


(作者)----------Author(s)----------


Ingo Feinerer



参见----------See Also----------

Vignette 'Extensions: How to Handle Custom File Formats'.
Vignette的扩展:如何处理自定义文件格式“。

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 10:42 , Processed in 0.023321 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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