Learn R Programming

rmgarch (version 1.3-9)

goload-methods: Load Scenario from File

Description

Loads a previously saved fScenario from file and returns a '>fScenario or '>fMoments object.

Usage

goload(object, ...)

Arguments

object

A '>fScenario or '>fMoments object which was created with save.output set to TRUE.

...

not used.

Value

A '>fScenario or '>fMoments object with the scenario or moments slot now filled with the saved data from file.

Details

There are times when it is more efficient to save large scenarios to file (particularly when creating them in parallel), rather than returning them to the user workspace. The save.output option in the fscenario and fmoments allows to do just that, returning instead a lighter object with an empty scenario slot, but with the model slot included, containing the details of the location and name of the saved scenario (or moments list). The goload function then takes this object, reads the location and name and loads the scenario (or moments) into its slot in the object and returns this to the user's workspace.