knitr: Elegant, flexible and fast dynamic report generation with R

December 1, 2011

(This article was first published on Yihui Xie, and kindly contributed to R-bloggers)

The world has changed. You can feel it on GitHub. You can smell it on Google+. The knitr package, as an alternative tool to Sweave, has features that you have been longing for, and features that you might have never imagined. Thumb through the PDF manual to see some of them.

Currently this package is still a beta version, so I’m looking for feedback from early birds on:

  1. is the PDF documentation confusing in any places? e.g. you have no idea on how to install the package because it was not mentioned in the manual;
  2. does the website look ugly in your browser? (I know it does with IE under Windows) I used a font from Google Font API, and it does not seem to be consistent across different web browsers/OS’es;
  3. what kind of difficulties did you have in switching from Sweave/pgfSweave/whatever-Sweave to knitr?
  4. do you like the idea of putting R code/output in a shaded frame in LaTeX? is the default shading (rgb(.97, .97, .97)) too dark or too light? how about the highlighting theme?
  5. have you ever tried to hack at Sweave? I’d love to listen to your stories;
  6. what else do you expect from knitr?

Feel free to file a bug report in the Issues page if you find any problems or have any suggestions. I appreciate your efforts in making this knitr package even neater!

To leave a comment for the author, please follow the link and comment on their blog: Yihui Xie. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)