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 29, 2024, 6:39 a.m.