TraceClasses(methods)
TraceClasses()所属R语言包:methods
Classes Used Internally to Control Tracing
内部使用的类,用于控制跟踪
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The classes described here are used by the R function trace to create versions of functions and methods including browser calls, etc., and also to untrace the
这里所描述的类使用R函数trace创建版本的功能和方法,包括浏览器调用等,也untrace
用法----------Usage----------
### Objects from the following classes are generated
### by calling trace() on an object from the corresponding
### class without the "WithTrace" in the name.
"functionWithTrace"
"MethodDefinitionWithTrace"
"MethodWithNextWithTrace"
"genericFunctionWithTrace"
"groupGenericFunctionWithTrace"
### the following is a virtual class extended by each of the
### classes above
"traceable"
类的对象----------Objects from the Class----------
Objects will be created from these classes by calls to trace. (There is an initialize method for class "traceable", but you are unlikely to need it directly.)
从这些类创建的对象将通过调用trace。 (initialize类"traceable"方法,但你是不大可能直接需要它。)
插槽----------Slots----------
.Data: The data part, which will be "function" for class "functionWithTrace", and similarly for the other
.Data:部分数据,这将是"function""functionWithTrace",同样为其他类
original: Object of the original class; e.g.,
original:原始类的对象,例如,
延伸----------Extends----------
Each of the classes extends the corresponding untraced class, from the data part; e.g., "functionWithTrace" extends "function". Each of the specific classes extends "traceable", directly, and class "VIRTUAL", by class "traceable".
类扩展untraced相应的类从数据的一部分,例如,"functionWithTrace"延伸"function"。每个具体类的延伸"traceable",直接,类"VIRTUAL",类"traceable"。
方法----------Methods----------
The point of the specific classes is that objects generated from them, by function trace(), remain callable or dispatchable, in addition to their new trace information.
具体类的一点是,从他们身上,功能trace(),赎回或分派除了其新的跟踪信息,生成的对象。
参见----------See Also----------
function trace
函数trace
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|