Description Usage Arguments Value Author(s) See Also Examples
Set the write protection field for an object. Write protected objects cannot be modified through get/set methods and virtual fields.
1 2 | ## S3 method for class 'Process'
setWriteProtected(this, value, ...)
|
this |
A Process object. |
value |
A logical vector of size one. |
... |
Not used. |
Invisible TRUE or FALSE.
Botond Sipos, Gregory Jordan
For more information see Process
.
1 2 3 4 5 6 7 8 9 10 11 12 | # create an object
o<-Process()
# toggle write protection
setWriteProtected(o,TRUE)
# check write protection
o$writeProtected
# set write protection via virtual field
o$writeProtected<-FALSE
o$writeProtected
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.