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

print.vertical

Print styled code


Description

Print styled code

Usage

## S3 method for class 'vertical'
print(
  x,
  ...,
  colored = getOption("styler.colored_print.vertical"),
  style = prettycode::default_style()
)

Arguments

x

A character vector, one element corresponds to one line of code.

...

Not currently used.

colored

Whether or not the output should be colored with prettycode::highlight().

style

Passed to prettycode::highlight().


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

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