I have figured how to have a for loop spit out Rmd using the pander package, e.g.:
for (df in dfs) {
pandoc.header("header text", 1) %>% cat()
df %>% pandoc.table(align="left") %>% cat()
}
but I would like to output a paged_table() using the rmarkdown package. It works just fine outside the loop!
Thanks for your help!
Dado