Вопрос

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