Description Usage Arguments Value See Also Examples
This functions create a new pipeline
object.
1 |
name |
|
description |
|
components |
list of |
pipes |
list of |
pipeline
list containing:
name |
character value |
description |
character value |
components |
list of |
pipes |
list of |
loadPipeline
for loading a pipeline from an XML
souce, module
for information on module objects,
runPipeline
for executing all of a pipeline's
components, runModule
for executing individual
module
objects, pipe
for pipes, and
addPipe
and addComponent
for modifying pipelines.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ## create some modules
mod1 <- module(name = "setX", language = moduleLanguage("R"),
description = "sets the value of x",
outputs = list(
moduleOutput(
name = "x",
vessel = internalVessel("x"),
format = ioFormat("R character string"))),
sources = list(
moduleSource(
vessel = scriptVessel("x <- \"set\""))))
mod2 <- module("showY", language = moduleLanguage("R"),
description = "displays the value of Y",
inputs = list(
moduleInput(
name = "y",
vessel = internalVessel("y"),
format = ioFormat("R character string"))),
sources = list(
moduleSource(
vessel = scriptVessel("print(y)"))))
pline1 <- pipeline(name = "trivialpipeline", components = list(mod1, mod2))
## create a pipe
pipe1 <- pipe("setX", "x",
"showY", "y")
## create a pipeline
pline1 <- pipeline(name = "ex_pipeline",
components = list(mod1, mod2),
pipes = list(pipe1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.