dv_write | R Documentation |
Note that this is really rather experimental, and you probably shouldn't use it yet. Once complete, this function will allow a datavolley file to be read in via dv_read
, modified by the user, and then rewritten back to a datavolley file.
At this stage, most modifications to the datavolley object should make it back into the rewritten file. However, the scouted code (in the code
column) is NOT yet updated to reflect changes that might have been made to other columns in the datavolley object.
dv_write(x, file, text_encoding = "UTF-8")
write_dv(x, file, text_encoding = "UTF-8")
x |
datavolley: a datavolley object as returned by |
file |
string: the filename to write to. If not supplied, no file will be written but the dvw content will be returned |
text_encoding |
string: the text encoding to use |
The dvw file contents as a character vector (invisibly)
dv_read
## Not run:
x <- dv_read(dv_example_file())
outfile <- tempfile()
dv_write(x, outfile)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.