powered by
Interfaces to and from modules.
as.module(x, ...)# S3 method for character as.module(x, topEncl = baseenv(), reInit = TRUE, ..., envir = parent.frame())# S3 method for module as.module(x, reInit = TRUE, ...)
# S3 method for character as.module(x, topEncl = baseenv(), reInit = TRUE, ..., envir = parent.frame())
# S3 method for module as.module(x, reInit = TRUE, ...)
something which can be coerced into a module. character are interpreted as file / folder names.
character
arguments passed to parse
(environment) the root of the local search path. It is tried to find a good default via autoTopEncl.
(logical) if a module should be re-initialized
(environment) the environment from where module is called. Used to determine the top level environment and should not be supplied by the use.
module
# as.module is used by 'use' so see the vignette for examples: if (FALSE) { vignette("modulesInR", "modules") }
Run the code above in your browser using DataLab