I am sucessfully compiling my .rmd-file into html or pdf_documents with the global option of dev='tikz'
. Unfortunately the resulting .tikz-files have a latex-body around them, which prevents me from including them as child documents in lyx.
TheTikZDevice-Manual seems to indicate, that the standAlone
-option is responsible for this.
Is it possible to control this option (globally) from within RMarkdown or will I have to resort to calling tikz directly in each code chunk?