We can set opts_chunk 'eval=FALSE' to suppress compiling chunks. But how to disable inline code eval in global setup?
Not what you asked (I don't know of any such option), but just in case: if your goal is to have all the advantages of markdown but without running any code, you can simply save your file as markdown with the
.md extension. RStudio will still offer the tools to compile it to html or LaTeX, but will not treat code in a special way.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.