Great. I also said "I see the point of keeping prompts", and that is why the chunk option prompt=TRUE is provided in knitr. I may not agree with your preference, but that does not mean I should stop you completely from having your own preference.
Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Web: http://yihui.name On Thu, Jul 31, 2014 at 6:34 AM, Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > On 30/07/2014, 11:12 PM, Yihui Xie wrote: >> No. That is not my suggestion. Joshua Wiley correctly explained what I >> was suggesting. Prompts are useful in the R console, but not >> necessarily in a report. > > Okay, then we agree. For Erin's purpose (teaching), it is helpful to > beginners if the document looks the same as what they see in the > console. More sophisticated users don't need the prompts. > > Duncan Murdoch ______________________________________________ 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.