write.mif | R Documentation |
A wrapper around readr::write_lines
for writing files conforming to the
.mif
standard.
write.mif(
x,
path,
comment_header = NULL,
comment = "#",
append = FALSE,
sep = ";",
na = "NA"
)
write.IAMCcsv(
x,
path,
comment_header = NULL,
comment = "#",
append = FALSE,
sep = ",",
na = ""
)
x |
A |
path |
Path or connection to write to. |
comment_header |
Comment header to be written to the |
comment |
A character to prefix comment header lines with. Must match
existing comment characters in file |
append |
Overwrite existing files ( |
sep |
Single character used to separate fields within a record.
Defaults to |
na |
String used for |
write.IAMCcsv()
uses commas as filed separators instead of semi-colons.
Michaja Pehl
write.mif(quitte_example_data, tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.