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

get_knitr_pattern

Get chunk pattern


Description

Determine a regex pattern for identifying R code chunks.

Usage

get_knitr_pattern(filetype)

Arguments

filetype

A string indicating the filetype - either 'Rmd' or 'Rnw'.


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.