rvn_write_Raven_header {RavenR} | R Documentation |
Writes the common Raven file header to file. All lines are Appended.
rvn_write_Raven_header( filename, filetype, author = NULL, creationDate = TRUE, textlen = 40 )
filename |
Name of the file, with extension |
filetype |
File extension, Encoding, Raven version (e.g. "rvp ASCII Raven 2.9.1") |
author |
Name of file author (optional) |
creationDate |
Bool of whether creation date should be added to header. (default TRUE) |
textlen |
Length of lines (default: 40, used to right-align text) |
TRUE returns TRUE if executed successfully
Leland Scantlebury, leland@scantle.com
tf <- file.path(tempdir(), 'HogwartsBasin.rvp') rvn_write_Raven_header(filename = tf, filetype = 'rvp ASCII Raven 2.9.1', author = 'Harry Potter') # view file readLines(tf)