How to set knitr chunk output width on a per chunk basis?
问题 My question(s): 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 reason (i.e. one rooted in some fundamental limitation of the knitr model) that it does not? What I've tried: To show what I'm wishing for, here is a hand-rolled hook function that does basically what I want. (I don't really like it though, (a) because it is ugly, relying on assignment of the variable .width into the global environment, and (b) because it's not