writer: Write lines of text to a file

Description Usage Arguments Functions

View source: R/writers.R

Description

Write lines of text to a file

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
writer(x, ..., outfile = NULL, sep = "\n")

chunk_wrapper(
  x,
  ...,
  outfile = NULL,
  options = c("echo=FALSE", "warning=FALSE"),
  label = NULL
)

secret_chunk_wrapper(
  x,
  ...,
  outfile = NULL,
  options = c("echo=FALSE", "include=FALSE", "warning=FALSE", "message=FALSE",
    "error=FALSE"),
  label = NULL
)

Arguments

x

The first piece of text to write

...

Further text to write

outfile

The file to write to

sep

Character to separate arguments of ..., defaults to new line

options

Character vector detailing the R chunk options

label

A name to give the R chunk

Functions


jayleetx/jayutils documentation built on Jan. 18, 2021, 3:16 p.m.