[R] Defining class as a member of another class
R_help Help
rhelpacc at gmail.com
Sun Jun 28 04:01:23 CEST 2009
Hi,
When I define a new class (through setClass), members defined in
representation argument doesn't seem to like a class. For example, if
I do the following:
setClass("NotWork",representation=(x="zoo"))
It seems to me that representation members will take in only primitive
type to R. Is there any way to stuff a class as a member in another
class? Thank you.
- adschai
More information about the R-help
mailing list