On Mon, 20 Jul 2015, John Kane wrote:
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 box:
set-ops, echo = FALSE=
opts_chunk$set(echo = FALSE)
@
John,
My original response was too large (3 attached PDF
you get it working.
John Kane
Kingston ON Canada
-Original Message-
From: rshep...@appl-ecosys.com
Sent: Tue, 21 Jul 2015 08:30:09 -0700 (PDT)
To: r-help@r-project.org
Subject: Re: [R] Knitr: setting echo = FALSE globally [RESOLVED]
On Mon, 20 Jul 2015, John Kane wrote:
I have
On Tue, 21 Jul 2015, John Kane wrote:
It sounds like your approach with the chunks is equivalent to my approach.
Somewhere I remember reading that the global chunk commands apply to
everything 'after' the global command--which once one thinks about it is
sensible .
John,
Yes, it makes
Section 5.1.3 of the book Dynamic Documents with R and knitr is
titled Global Options. I don't know how to make it more clear for
readers to find information on global options in the book.
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Web: http://yihui.name
On Mon, Jul 20, 2015 at 12:58 PM,
Near the beginning of a LyX document I have a knitr chunk with options
that begin with 'global_options', and includes echo=F. This presents the R
code in that chunk from displaying in the compiled PDF file. However, all
following knitr chunks are included in the PDF file.
Reading the docs
Have you tried echo = FALSE instead of echo = F.
If that doesn't solve your problem, please provide a minimal reproducible
example.
Op 20-jul.-2015 20:02 schreef Rich Shepard rshep...@appl-ecosys.com:
Near the beginning of a LyX document I have a knitr chunk with options
that begin with
On Mon, 20 Jul 2015, Yihui Xie wrote:
Section 5.1.3 of the book Dynamic Documents with R and knitr is
titled Global Options. I don't know how to make it more clear for
readers to find information on global options in the book.
Yes, I've read that and have not found where
We need the source file. Not the output. And please try to make it as small
as possible while still reproducing the problem. The smaller the example,
the easier it is for us to help you.
Op 20-jul.-2015 21:17 schreef Rich Shepard rshep...@appl-ecosys.com:
On Mon, 20 Jul 2015, Thierry Onkelinx
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#LyX 2.1 created this file. For more info see
On Mon, 20 Jul 2015, Thierry Onkelinx wrote:
Have you tried echo = FALSE instead of echo = F. If that doesn't solve
your problem, please provide a minimal reproducible example.
Yes, I have.
Attached is a TeX file renamed to sample.txt (rather than .tex to ensure
it is not stripped), a
crotchety.
John Kane
Kingston ON Canada
-Original Message-
From: rshep...@appl-ecosys.com
Sent: Mon, 20 Jul 2015 12:58:51 -0700 (PDT)
To: r-help@r-project.org
Subject: Re: [R] Knitr: setting echo = FALSE globally
On Mon, 20 Jul 2015, Thierry Onkelinx wrote:
We need the source file
11 matches
Mail list logo