Question

For instance, is there some function getName that allows me to do:

> TestA <- setRefClass("TestA")
> getName(TestA())
[1] "TestA"
Était-ce utile?

La solution

Maybe simply check its class:

class(TestA())
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top