<tt>attributes()</tt> and <tt>attr()</tt>



next up previous contents
Next: The class of Up: Objectstheir modes Previous: Changing the length

attributes() and attr()

The function attributes(object) gives a list of all the non-intrinsic attributes currently defined for that object. The function attr(object,name) can be used to select a specific attribute. These functions are rarely used, except in rather special circumstances when some new attribute is being created for some particular purpose, for example to associate a creation date or an operator with an S-PLUS object. The concept, however, is very important.



Erik Moledor
Tue Jan 31 21:02:18 EST 1995