e2e_copy {StrathE2E2}R Documentation

Make a copy of a named model/variant and documentation in a user defined workspace

Description

Make a copy of a named model/variant and documentation in a user defined workspace

Usage

e2e_copy(model.name, model.variant, dest.path = "Models", user.path = "")

Arguments

model.name

Name of model to copy.

model.variant

Name of model variant to copy.

dest.path

Destination folder to write a copy of the model, which will be created if necessary. The default is "Models" in the current folder.

user.path

Source folder of the model to be copied. If the source is one of the North Sea models provided with the package then user.path="".

Value

A copy of an entire model/variant and the associated documentation folder in the designated workspace.

See Also

e2e_ls, e2e_read

Examples

# Copy the 2003-2013 version of the North Sea model supplied with the package into a
# user workspace (Windows OS):
## Not run: 
e2e_copy("North_Sea", "2003-2013",
          dest.path="C:/Users/username/Documents/Models")

#Copy a user model into a user workspace  (Windows OS):
e2e_copy("Modelname", "Modelvariant",
          dest.path="C:/Users/username/Documents/Folder2/Models",
          user.path="C:/Users/username/Documents/Folder1/Models")

## End(Not run)

[Package StrathE2E2 version 3.0.0 Index]