save_workspace: Save a workspace

View source: R/export_workspace.R

save_workspaceR Documentation

Save a workspace

Description

Function to save a workspace object into a 'JDemetra+' workspace.

Usage

save_workspace(workspace, file)

Arguments

workspace

the workspace object to export

file

the path where to export the 'JDemetra+' workspace (.xml file). By default, if not specified, a dialog box opens.

Value

A boolean indicating whether the export is successful.

See Also

load_workspace

Examples


dir <- tempdir()
# Creation and export of an empty 'JDemetra+' workspace
wk <- new_workspace()
new_multiprocessing(wk, "sa1")
save_workspace(wk, file.path(dir, "workspace.xml"))



RJDemetra documentation built on Oct. 1, 2024, 5:07 p.m.