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 psvt file.

pt_write(x, filename)

Arguments

x

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

filename

string: path to file

See also