powered by
WriteInfo writes its required argument x to a file.
WriteInfo
x
WriteInfo(x, filename)
No return value, called for export to text files.
The object to be written, a list with named vector elements, as an object returned from ReadInfo using the exact mode.
ReadInfo
exact
A character string naming a file to write to. Windows users: Note that Paths are separated by '/', not '\'.
WriteInfo writes an 'info.txt' file, typically originating from an imported and modified 'info.txt'.
ReadInfo with a description of the expected content of x. AddInfoLine RemoveInfoLine
AddInfoLine
RemoveInfoLine
te <- ReadInfo(filename = system.file("demo_model", "info.txt", package = "HYPEtools"), mode = "exact") WriteInfo(x = te, filename = tempfile())
Run the code above in your browser using DataLab