knit_child in a Rmd file is printing unwanted output
问题 I had succesfully used knit_child for generating pdf files, following the code of http://yihui.name/knitr/demo/child/, but when I try to use that example in a .Rmd file: ```{r, results='asis', echo=FALSE, message=FALSE} out = NULL for (p in c("p1","p2","p3","p4","p5","p6","p7","p8","p9","p10")) { out = c(out, knit_child('quick_variable.Rmd')) cat(out) } ``` (I modify the original code, for work in Rmd ). I have two problems, the first one: | | | 0% | |... | 5% ordinary text without R code | |