defineClasses | R Documentation |
This function maps SchemaType-class
objects describing XML schema types to R class definitions
within the existing R session.
defineClasses(types, where = globalenv(), namespaceDefs = list(),
verbose = FALSE, baseClass = BaseClassName, force = FALSE,
opts = new("CodeGenOpts"),
pending = new.env(hash = TRUE, emptyenv()),
classes = new.env(hash = TRUE, emptyenv()))
types |
a list of |
where |
the environment in which the new R class definitions
should be defined and assigned. This is passed as the value of
the |
namespaceDefs |
a character vector giving the |
verbose |
a logical value indicating whether to emit messages on the console as classes are defined. |
baseClass |
the name of the base class which is added to the
|
force |
a logical value. By default, if there is an existing R class
with a name corresponding to a |
opts |
an instance of |
pending,classes |
environments which are updated by the different functions and methods we call to register the names of the classes that are being processed and defined. We allow these to be specified by the caller so that she can control and monitor some of the processing. |
... |
additional parameters passed on to |
A list with the class definitions. This function is run more for its side-effect of defining new classes.
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.