سؤال

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

> TestA <- setRefClass("TestA")
> getName(TestA())
[1] "TestA"
هل كانت مفيدة؟

المحلول

Maybe simply check its class:

class(TestA())
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top