Playing with knitr: Create Report with Dynamic List
[This article was first published on theBioBucket*, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Here is a little toy example using knitr, LaTeX/MiKTeX and Google Docs.Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Say you had a list on Google Docs (say a list of attendants) and you want to print a report with it..
Then see this example using this Rnw-file and the output…
make the tex-file with:
library(knitr) knit("knitr_list_of_attendants.Rnw")..then compile the tex-file with MiKTeX.
or with this shortcut:
knit2pdf("knitr_list_of_attendants.Rnw") browseURL("knitr_list_of_attendants.pdf")
To leave a comment for the author, please follow the link and comment on their blog: theBioBucket*.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.