View source: R/rvn_rvi_commandupdate.R
rvn_rvi_commandupdate | R Documentation |
Updates the provided rvi file with the command and value provided.
rvn_rvi_commandupdate(
filename = NULL,
command = NULL,
value = NULL,
outputfile = NA
)
filename |
the name of the .rvi file (with .rvi extension included), either relative to the working directory or absolute. |
command |
the rvi command with preceeding colon to update |
value |
value of the command to update |
outputfile |
if writing to a new file, otherwise filename is overwritten |
returns TRUE
if run successfully
James R. Craig, University of Waterloo
rvn_rvi_read
to read and process rvi files with RavenR
# load example rvi file
ff <- system.file("extdata","Nith.rvi", package="RavenR")
tf <- tempfile(fileext=".rvi")
rvn_rvi_commandupdate(filename=ff,
command=":StartDate",
value="2022-10-01 00:00:00",
outputfile=tf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.