| Code | R Documentation |
Class representing a piece of code.
new()Initializer method
Code$new(name, lines)
name(character(1))
Name of Code object.
lines(character(n))
Vector of lines Code object.
invisible(self)
print()Overload generic print, to print Code object.
Code$print(...)
...further arguments passed to or from other methods. See print.
(character(n))
getLines()Get method for lines.
Code$getLines()
(character(n)) Vector of lines in the Code object.
getNLines()Get method for number of lines.
Code$getNLines()
(numeric(1)) Number of lines in the Code object.
getName()Get method for Name.
Code$getName()
(character(1)) Name of the Code object.
clone()The objects of this class are cloneable with this method.
Code$clone(deep = FALSE)
deepWhether to make a deep clone.
Other Representations:
File,
Function,
Repository
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.