knitr Performance Report-Attempt 1
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
I get very excited about new R packages, but rarely is my excitement so fulfilled as with knitr. Even with no skill, I have already been able to adapt the example Yihui Xie provides in his knitr Graphics Manual into a crude first version of a performance report that I could actually show clients and prospects. Although this is far from production quality, two days of experimentation already has me to a level that assures me of the wonderful potential of combining the existing amazing R packages with knitr. Before knitr, I do not believe I could have accomplished even this rough first draft.
If you have not played with MiKTeX before, you will need to use the Package Manager to install the xcolor and tufte-handout templates for this example to work properly. MiKTeX is installed automatically with LyX as discussed in yesterday’s post Latex Allergy Cured by knitr. If xcolor causes problems, then just change your repository to another repository.
knitr weaved with a little PerformanceAnalytics, lattice, and latticeExtra provides this first draft. As always, thanks so much to the brilliant contributors that have made this possible.
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.