Skip to contents

Write text to a file

Usage

write_text(
  txt,
  file = "",
  header = "**THIS FILE IS CONSTANTLY OVERWRITTEN -- DO NOT MANUALLY EDIT**\r\n\r\n"
)

Arguments

txt

Text to be written

file

File, passed through to base::cat

header

Optional header that is inserted at the top of the text file

Value

No return value.