powered by
This function is a copy of the non-exported function escape_latex from the knitr package. This function is not exported.
escape_latex
escape_latex(x, newlines = FALSE, spaces = FALSE)
Character.
Logical. Determines if \n are escaped.
\n
Logical. Determines if multiple spaces are escaped.
# NOT RUN { in_paren <- TRUE # Taken from printnum() validate(in_paren, check_class = "logical", check_length = 1) validate(in_paren, check_class = "numeric", check_length = 1) # }
Run the code above in your browser using DataLab