Code Externalization

Write R code in external R scripts, and use read_chunk() to read them into the current document.

knitr::read_chunk('113-foo.R')

The following two chunks are from the external R script 113-foo.R:





Try the parsermd package in your browser

Any scripts or data that you put into this service are public.

parsermd documentation built on May 20, 2021, 5:08 p.m.