[R] a knitr question
r.turner at auckland.ac.nz
Thu Jul 31 10:28:25 CEST 2014
On 31/07/14 12:06, Joshua Wiley wrote:
> I don't think that this is about prompts in interactive R, but when a
> document is knit, should the echoed code in the report have prompts or not.
Surely that should be left up to the user. And as Erin pointed out in
her second message, it is. The default is no prompt --- which seems to
be the style desired by you and Yihui --- but setting prompt=TRUE inside
the << >> gives prompts for those who want them in their documents.
Since the default is "no prompt", the only meaningful interpretation of
Yihui's post was the way that Duncan interpreted it.
Technical Editor ANZJS
More information about the R-help