This is somewhat experimental. It may be useful if one wants to read an existing file, modify the content, and re-write it back to a PSVB file.

pv_write(x, filename)

Arguments

x

character: data to write. See e.g the raw component of the object returned by pv_read

filename

string: path to file

See also

Examples

if (FALSE) { x <- pv_read(pv_example_file()) new_file_name <- tempfile(fileext = ".psvb") pv_write(x$raw, filename = new_file_name) }