WritePar | R Documentation |
WritePar
prints its required argument x
to a file.
WritePar(x, filename, digits = 10, nsmall = 1)
x |
The object to be written, a list with named vector elements, as an object returned from |
filename |
A character string naming a file to write to. Windows users: Note that Paths are separated by '/', not '\'. |
digits |
Integer, number of significant digits to export. See |
nsmall |
Integer, number of significant decimals to export. See |
WritePar
writes a 'par.txt' file, typically originating from an imported and modified 'par.txt'.
No return value, called for export to text files.
ReadPar
with a description of the expected content of x
.
te <- ReadPar(filename = system.file("demo_model", "par.txt", package = "HYPEtools"))
# Note that par files lose all comment rows on import
WritePar(x = te, filename = tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.