Top "Knitr" questions

knitr is an R package for dynamic report generation based on the concept of literate programming.

Insert a logo in upper right corner of R markdown pdf document

I am getting started with R markdown and I would like to create a new report having our company image …

r pdf yaml knitr r-markdown
How to set the number of decimals in report produced with knitr/pander?

I know it's a fairly old problem, and it has been discussed before, but I can't get it work as …

r knitr pandoc pander
How to make a figure caption in Rmarkdown?

I am thinking about writing my thesis with rmarkdown and latex. I'm getting the hang of how it all works, …

knitr r-markdown pandoc
two-column layouts in RStudio presentations/slidify/pandoc

I'm trying to come up with a good system for generating slides and accompanying handouts. The ideal system would have …

r knitr rstudio r-markdown slidify
R Markdown - variable output name

With one R markdown file, I would like to create different possible output pdf documents, where the output file name …

r markdown knitr r-markdown
insert side by side png images using knitr

How can I insert side by side png files from my computer into rstudio when creating an html document? The …

r markdown knitr
Conditionally display a block of text in R Markdown

I am using knitr to parse an R Markdown document . Is there a way to conditionally display a block of …

r knitr r-markdown
Inserting a page break within a code chunk in rmarkdown (converting to pdf)

I am using rmarkdown, pandoc and knitr to create a pdf including chunks of r code. Within a code chunk …

r pdf knitr r-markdown pandoc
knitr: How to prevent text wrapping in output?

I am having a problem with text wrapping in code output chunks in knitr when knitting to HTML. For example, …

r knitr
Knitr wont compile PDF: "Error in tools::file_path_as_absolute(output_file)"

I have created a report in markdown and use the function render() to compile the code into a PDF. It …

r pdf latex knitr r-markdown