1 vote
Accepted

Set global options for all R code chunks and plots throughout LaTeX document

\documentclass[twocolumn]{article} \usepackage{lipsum,geometry} \begin{document} <<options,include=FALSE>>= knitr::opts_chunk$set(echo = FALSE, fig.dim = c(5, 3), fig.pos="h",...
Fran's user avatar
  • 80.9k

Only top scored, non community-wiki answers of a minimum length are eligible