# 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