rvn_write_Raven_header {RavenR} | R Documentation |
Write common Raven file header
Description
Writes the common Raven file header to file. All lines are Appended.
Usage
rvn_write_Raven_header(
filename,
filetype,
author = NULL,
creationDate = TRUE,
textlen = 40
)
Arguments
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 |
textlen |
Length of lines (default: 40, used to right-align text) |
Value
TRUE |
returns |
Author(s)
Leland Scantlebury, leland@scantle.com
Examples
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)
[Package RavenR version 2.2.2 Index]