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