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

R语言 biocViews包 PackageDetail-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 13:30:50 | 显示全部楼层 |阅读模式
PackageDetail-class(biocViews)
PackageDetail-class()所属R语言包:biocViews

                                        Class "PackageDetail"
                                         类“PackageDetail”

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

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

Representation of R package metadata.  Most slots
R包元数据的代表性。最插槽


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("PackageDetail", ...).
创建对象可以通过检测的形式new("PackageDetail", ...)。


插槽----------Slots----------




Package: Object of class "character" see DESCRIPTION
Package类"character"看到描述:对象




Version: Object of class "character"  see
Version:Object类的"character"见




Title: Object of class "character"  see
Title:Object类的"character"见




Description: Object of class "character"  see
Description:Object类的"character"见




Author: Object of class "character" see DESCRIPTION
Author类"character"看到描述:对象




Maintainer: Object of class "character" see
Maintainer:Object类的"character"见




Depends: Object of class "character" see DESCRIPTION
Depends类"character"看到描述:对象




Imports: Object of class "character" see DESCRIPTION
Imports类"character"看到描述:对象




Suggests: Object of class "character" see DESCRIPTION
Suggests类"character"看到描述:对象




SystemRequirements: Object of class "character"
SystemRequirements类"character":对象




License: Object of class "character" see DESCRIPTION
License类"character"看到描述:对象




URL: Object of class "character" see DESCRIPTION
URL类"character"看到描述:对象




biocViews: Object of class "character" see
biocViews:Object类的"character"见




vignettes: Object of class "character" giving
vignettes:Object类的"character"给予




vignetteScripts: Object of class "character" giving
vignetteScripts:Object类的"character"给予




vignetteTitles: Object of class "character" giving
vignetteTitles:Object类的"character"给予




source.ver: Object of class "character" version
source.ver类"character"版本对象




win.binary.ver: Object of class "character"
win.binary.ver类"character":对象




win64.binary.ver: Object of class "character"
win64.binary.ver类"character":对象




mac.binary.leopard.ver: Object of class "character"
mac.binary.leopard.ver类"character":对象




downloadStatsUrl: Object of class "character" An
类的对象downloadStatsUrl:"character"




manuals: Object of class "character" giving paths to
manuals类"character"给路径的对象




dependsOnMe: Object of class "character" giving
dependsOnMe:Object类的"character"给予




importsMe: Object of class "character" giving
importsMe:Object类的"character"给予




suggestsMe: Object of class "character" giving
suggestsMe:Object类的"character"给予




functionIndex: Object of class "character" Not
functionIndex类"character"不是对象




reposFullUrl: Object of class "character" The URL
reposFullUrl类"character"URL对象




reposRoot: Object of class "character" The URL
reposRoot类"character"URL对象




viewRoot: Object of class "character" The URL
viewRoot类"character"URL对象




devHistoryUrl: Object of class "character" The URL
devHistoryUrl类"character"URL对象


延伸----------Extends----------

Class "Htmlized", directly.
类"Htmlized",直接。


方法----------Methods----------




htmlDoc signature(object = "PackageDetail"): Return an XMLNode instance containg a complete HTML document
htmldoc的signature(object = "PackageDetail"):返回XMLNode的实例containg一个完整的HTML文档




htmlFilename signature(object = "PackageDetail"):
htmlFilenamesignature(object = "PackageDetail"):




htmlValue signature(object = "PackageDetail"): Return
htmlValuesignature(object = "PackageDetail"):返回


Details

详情----------Details----------

pdAuthorMaintainerInfo-class pdVignetteInfo-class pdDownloadInfo-class pdDetailsInfo-class pdDescriptionInfo-class pdVigsAndDownloads-class
pdAuthorMaintainerInfo-classpdVignetteInfo-classpdDownloadInfo-classpdDetailsInfo-classpdDescriptionInfo-classpdVigsAndDownloads-class

Dummy classes for HTML generation.  Each dummy class is a simple extension (it does not add any slots).  The purpose of each dummy class is to allow for method dispatch to generate HTML via the htmlValue method.
HTML生成的虚拟类。每个虚拟类是一个简单的扩展(它不添加任何插槽)。在每个假人类的目的是允许派遣通过htmlValue方法生成HTML的方法。

You can convert convert a PackageDetail instance to one of the dummy classes like this: descInfo <- as(pdObj,     "pdDescriptionInfo")
你可以转换转换PackageDetail实例,这样的虚构类之一:descInfo <- as(pdObj,     "pdDescriptionInfo")


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


Seth Falcon



举例----------Examples----------


pd <- new("PackageDetail",
          Package="MyFancyPackage",
          Version="1.2.3",
          Title="A Fancy Package",
          Description="This package does fancy things",
          Author="A. Coder",
          Maintainer="A. Coder <acoder@foo.bar.net>",
          Depends="methods",
          Imports="ASimplePackage",
          Suggests="MyDataPackage",
          biocViews="Infrastructure",
          vignettes="vignettes/MyFancyPackage/inst/doc/MFP1.pdf,\nvignettes/MyFancyPackage/inst/doc/MFP2.pdf",
          vignetteScripts="vignettes/MyFancyPackage/inst/doc/MFP1.R\nvignettes/MyFancyPackage/inst/doc/MFP2.R",
          vignetteTitles="MFP1 Document,\nMFP2 Document",
          source.ver="src/contrib/MyFancyPackage_1.2.3.tar.gz",
          win.binary.ver="bin/windows/contrib/2.6/MyFancyPackage_1.2.2.zip",
          win64.binary.ver="bin/windows64/contrib/2.6/MyFancyPackage_1.2.2.zip",
          mac.binary.leopard.ver="bin/macosx/leopard/contrib/2.6/MyFancyPackage_1.2.3.tgz",
          dependsOnMe=c("PackageThatExposesMe"),
          importsMe=c("AnEvenFancierPackage","AMuchFancierPackage"),
          suggestsMe="PackageThatUsesMeInVignette",
          reposRoot="http://foo.bar.org")

html <- htmlValue(pd)
pd


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-24 22:39 , Processed in 0.022016 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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