r - disable all chunk evaluation but keep inline evaluation -


i want disable chunk evaluation keep inline evaluation via \sexpr. setting eval globally false this

  \documentclass{article}     \begin{document}     <<setup, include=false>>=    opts_chunk$set(eval= false)    @     \sexpr{"is not displayed"} bummer.    \end{document} 

also affects \sexpr.

p.s.: searched subsets of [knitr],\sexpr, eval. hope formatting correct

p.s.: don't want set eval 1.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -