Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write2.internal

Helper functions for write2


Description

Helper functions for write2.

Usage

verbatim(...)

code.chunk(..., chunk.opts = "r")

Arguments

...

For verbatim, objects to print out monospaced (as if in the terminal). For code.chunk, either expressions or single character strings to paste into the code chunk.

chunk.opts

A single character string giving the code chunk options. Make sure to specify the engine!

Details

The "verbatim" class is to tell write2 to print the object inside a section surrounded by three back ticks. The results will look like it would in the terminal (monospaced).

code.chunk() is to write explicit code chunks in the .Rmd file; it captures the call and writes it to the file, to execute upon knitting.


arsenal

An Arsenal of 'R' Functions for Large-Scale Statistical Summaries

v3.6.2
GPL (>= 2)
Authors
Ethan Heinzen [aut, cre], Jason Sinnwell [aut], Elizabeth Atkinson [aut], Tina Gunderson [aut], Gregory Dougherty [aut], Patrick Votruba [ctb], Ryan Lennon [ctb], Andrew Hanson [ctb], Krista Goergen [ctb], Emily Lundt [ctb], Brendan Broderick [ctb], Maddie McCullough [art]
Initial release
2021-02-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.