Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想动态地将方法添加到一个R6类中,但仅限于initialize(). 为此,我必须设置lock_objects为FALSE. 是否有一种简单的方法可以在结束时再次锁定对象initialize()?
R6
initialize()
lock_objects
FALSE