Learn R Programming

analysisPipelines (version 1.0.2)

savePipeline: Saves the AnalysisPipeline or StreamingAnalysisPipeline object to the file system without outputs

Description

Saves the AnalysisPipeline or StreamingAnalysisPipeline object to the file system without outputs

Usage

savePipeline(object, path)

# S4 method for BaseAnalysisPipeline savePipeline(object, path)

# S4 method for MetaAnalysisPipeline savePipeline(object, path)

Arguments

object

object that contains input, pipeline, registry and output

path

the path at which the .Rda file containing the pipeline should be stored, along with the name of the file including a .Rda extension

Value

Does not return a value

Details

The AnalysisPipeline or StreamingAnalysisPipeline object is saved to the file system in the paths specified

This method is implemented on the base class as it is a shared functionality types of Analysis Pipelines which extend this class

See Also

Other Package core functions: BaseAnalysisPipeline-class, MetaAnalysisPipeline-class, assessEngineSetUp, checkSchemaMatch, createPipelineInstance, exportAsMetaPipeline, generateOutput, genericPipelineException, getInput, getLoggerDetails, getOutputById, getPipelinePrototype, getPipeline, getRegistry, initDfBasedOnType, initialize,BaseAnalysisPipeline-method, loadMetaPipeline, loadPipeline, loadPredefinedFunctionRegistry, loadRegistry, prepExecution, registerFunction, saveRegistry, setInput, setLoggerDetails, updateObject, visualizePipeline

Examples

Run this code
# NOT RUN {
  library(analysisPipelines)
  pipelineObj <- AnalysisPipeline(input = iris)
  pipelineObj %>>% savePipeline(path = "./test.RDS")
# }

Run the code above in your browser using DataLab