tf <- file.path(tempdir(), "HogwartsBasin.rvp")
rvn_write_Raven_newfile(filename = tf,
description = "Hogwarts River Basin RVP File Generated by HP_FileGen.R",
filetype = "rvp ASCII Raven 2.9.1",
author = 'Harry Potter')
# view file
readLines(tf)
Run the code above in your browser using DataLab