powered by
Set the name of a Process object.
This method also updates the unique identifier of the Process object.
# S3 method for Process setName(this, new.name, ...)
A Process object.
A character vector of length one.
Not used.
Returns the new name (invisible).
For more information see Process.
Process
# NOT RUN { # create object p<-Process() # get name p$name # set new name getName(p) # get name and id p$name p$id # set new name via virtual field p$name<-"Procey" p$name # }
Run the code above in your browser using DataLab