I have two
knitr chunks in
LyX that work fine by themselves in their separate floats (this post applies to both figures and tables). But when I try to put them in as subfloats (by selecting both and going to Insert > Float > Table or Insert > Float > Figure), I get errors.
For information on subfloats, see User Guide section 126.96.36.199 Figure Floats.
I'm using LyX 2.0.3 and svn, and knitr version .3