[R] Knitr: setting echo = FALSE globally

John Kane jrkrideau at inbox.com
Tue Jul 21 04:09:37 CEST 2015


Hi Rich,
I have no idea wha that chunk is not working but I think you can get the same result using the old method
Stick the following in an ERT (Insert > Tex Code) 

<<set-ops, echo = FALSE>>=
opts_chunk$set(echo = FALSE)
@

Heck, I've only been using LyX for 4-5 years and already I'm sounding crotchety.
John Kane
Kingston ON Canada


> -----Original Message-----
> From: rshepard at appl-ecosys.com
> Sent: Mon, 20 Jul 2015 12:58:51 -0700 (PDT)
> To: r-help at r-project.org
> Subject: Re: [R] Knitr: setting echo = FALSE globally
> 
> On Mon, 20 Jul 2015, Thierry Onkelinx wrote:
> 
>> We need the source file.
> 
>    Attached to the original message was the TeX output called,
> 'sample.txt'.
> I've attached it again, but with the .tex extension. Also, the .lyx file
> is
> attached.
> 
> Rich
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!



More information about the R-help mailing list