且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

R参考类别作为参考类别的字段

更新时间:2023-08-26 20:49:10

您会觉得很傻,至少当我注意到问题时才这样做.从环境类项目中提取的内容中,您有一个&"符号.

Y'er gonna feel kind of silly, at least I did when I noticed the problem. You have an ampersand insead of a dollar-sign in the extraction from the envirnment-class-item.

a <- ClassA$new(myVar=1)
a$someMethod(2)
#[1] "hi