On 31/07/14 12:06, Joshua Wiley wrote:

<SNIP>

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.

cheers,

Rolf Turner

--
Rolf Turner
Technical Editor ANZJS

______________________________________________
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.

Reply via email to