[R] a knitr question
Ista Zahn
istazahn at gmail.com
Thu Jul 31 13:02:35 CEST 2014
On Thu, Jul 31, 2014 at 4:28 AM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
> 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.
I have no idea why we are parsing Yihui's sentence so carefully and
critically. Yes, in isolation it is ambiguous, but in the context of
the thread it is perfectly clear. The whole conversation is whether it
is a good idea for the user to set <<prompt=TRUE>>.
Best,
Ista
>
> cheers,
>
> Rolf Turner
>
> --
> Rolf Turner
> Technical Editor ANZJS
>
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list