BASE$..new.. | R Documentation |
This function will copy all methods and attributes, except
the container, and the instantiate method. Then, the ..init_call..
attribute
will be set to the current system call, and the ..instantiated..
attribute
will be set to TRUE
. Notice, the ..init..
method will not run.
BASE$..new..(env = new.env(parent = parent.frame()), init_call = sys.call())
env |
Environment. The instance environment. |
init_call |
Call. Contents of the |
An instance environment.
BASE$..new..()
# Inherit from BASE
TEST <- new_class(BASE, class_name = "TEST")
TEST$..new..()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.