Skip to contents

Exporting IAM objects as readable .txt file

Usage

IAM.export(object, folder, ...)

# S4 method for iamInput
IAM.export(object, folder, ...)

# S4 method for iamArgs
IAM.export(object, folder, ...)

Arguments

object

TODO

folder

The folder in which the output .txt files will be exported. Chr.

...

deprecated argument ?

Details

This method will export the input object's slots as .txt file with a generic name corresponding to the name of the slot ("specific.txt", "input.txt","scenario.txt" & "stochastic.txt" for an iamInput object, or "specific.txt" & "args.txt" for an iamArgs object.

WARNING

if a file with the same name is already in the folder, it will be replaced with the exported file. So, use it with caution!!