Kia ora Erin

But beware - to quote from Yihui 2013 introduction to knitr

"It is easy to revert to the output with prompts (set option prompt=TRUE), and 
you will quickly realize the inconvenience to the readers if they want to copy 
and run the code ..."

Peter Alspach

-----Original Message-----
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On 
Behalf Of Erin Hodgess
Sent: Wednesday, 30 July 2014 10:28 a.m.
To: r-help@r-project.org
Subject: Re: [R] a knitr question

Sorry:  just solved it.

You simply include "prompt=TRUE" in the <<>> section

Thanks,
Erin



On Tue, Jul 29, 2014 at 6:22 PM, Erin Hodgess <erinm.hodg...@gmail.com>
wrote:

> Hello!
>
> When constructing code using knitr, is there a way to get the ">" 
> prompt to appear, please?
>
> Everything else works great!!
>
> Thank you!
>
> Sincerely,
> Erin
>
>
>
> --
> Erin Hodgess
> Associate Professor
> Department of Mathematical and Statistics University of Houston - 
> Downtown
> mailto: erinm.hodg...@gmail.com
>



--
Erin Hodgess
Associate Professor
Department of Mathematical and Statistics University of Houston - Downtown
mailto: erinm.hodg...@gmail.com

        [[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.
The contents of this e-mail are confidential and may be ...{{dropped:14}}

______________________________________________
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