[Rd] setReplaceMethod creates 'object' in the userworkspace

2017-06-23 Thread Jonathan Fritzemeier
Hi, I recognized that the function 'setReplaceMethod' is creating a character vector in the user workspace having the name (e.g. "newClass") of the class used as value. If you can sort out a mistake by myself, I would like you to file a bug report. BBFN, Jonathan setClass("newClass", representat

[Rd] Private Variables in R5-Classes possible?

2012-02-21 Thread Claus Jonathan Fritzemeier
Hi list, is there a way to define some kind of private Variable? I would like to prevent the user from manipulating fields on his own, in order to not destroy data structures. The problem is, that as soon as the variable exists in the environment it is accessible via t$secret_value. test <