Last chance! 50% off unlimited learning
Sale ends in
child
and serves as the alternative to the
knit_child(..., options = NULL, envir = knit_global())
knit
child
option in a parent chunk, the chunk options of the parent chunk will be
passed to the options
argumenparent.frame()
, new.env()
, or
globale
# you can write \\Sexpr{knit_child('child-doc.Rnw')} in an Rnw file 'main.Rnw'
# to input results from child-doc.Rnw in main.tex
# comment out the child doc by \\Sexpr{knit_child('child-doc.Rnw', eval =
# FALSE)}
Run the code above in your browser using DataLab