hello: Do any one know how to set sweave option by variable, for example I want set some of my selected code chunk with: <<eval=needRun>>= rather than <<eval=TRUE>>=, so I can change the action only in the head by change the variable "needRun" one times. I have tried use "\Def" and "\newcommand", both do not work, so I suppose it is related with R/Sweave its self. thanks for any good suggestion.
[[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.