Lyx file F
knitr chunk caches a value for x
then text A contains several Sexpr{} calls, including Sexpr{x}
Compiling F to pdf works fine
Now I move text A into a separate LyX file C, make C a child file with F the master file
Rewrite F -- should produce "text A" twice
knitr chunk caches a value for x
text A
\include(C)
Every thing works fine, compilation produces "text A" twice, EXCEPT \Sexpr{x}
in the included portion cannot find the cached value. I've reviewed knitr and knitr/LyX documentation and numerous help sites, but cannot figure out how caching works (or fails to work) in this situation.