search for: typefun

Displaying 2 results from an estimated 2 matches for "typefun".

2005 May 10
0
Implementation of the names attribute of attribute lists
...in many places to document apparently obscure or confusing aspects of the R language to a non-expert user. It is also quite useful when "computing on the language". ## The print.object function prints a tree representing the list-like structure ## of any R object ## ## x: any R object ## typefun: anfunction returning the object's type (e.g., mode, storage.mode, class) ## print.attributes: flag indicating whether to print or not the attributes list ## deparse.level: the printout beyond this level is produced by the deparse function ## ## The name and level arguments are not intended...
2005 May 10
1
Fwd: Re: Implementation of the names attribute of attribute lists
...e the SEXPR (this also used for attributes) and single brackects for generic vectors. For pairlist, I also use single brackets because it is writtin in the Manual that they are converted in generic vector of type pairlist when accessed from R. The print.object function allows also to use the "typefun" function (but this is a detail). Regards, Gabriel >From: Martin Maechler <maechler@stat.math.ethz.ch> >Date: Tue, 10 May 2005 17:30:32 +0200 >To: Gabriel Baud-Bovy <baud-bovy.gabriel@hsr.it> >Subject: Re: [Rd] Implementation of the names attribute of attribute...