Does knitr have an option that allows one to set R\'s width
option on a per chunk basis?
If not, is there a good
This also answers my question. I am using Beamer and knitr
to make overheads, and sometimes I make the output smaller (eg. to get an analysis of variance table in one piece without wrapping). For example, I have a default width of 50, but I can now do
{\small
<>=
summary(my.aov)
@
}
and I get the P-values on the same lines as the sums of squares, yet the width is still 50 for subsequent chunks.