Closed nicholasjhorton closed 8 years ago
Great idea! I'll add that when I get a chance over the next couple weeks.
On Sun, Nov 29, 2015 at 10:42 AM, Nicholas Horton notifications@github.com wrote:
It might be nice to include some examples for where the code and output are hidden from code chunks (and deferred to show up in an appendix). This would involve some combination of: <<loadknitr, echo=FALSE>>= require(knitr) options(width=60) @ in the main document and \chapter{Appendix} \label{ch:appendix} <<"all-blocks",results = 'hide',fig.width=5,fig.height=3,echo=TRUE>>= <
> < > < > < > < > < > < > < > < > < > < > < > @ in the appendix
Reply to this email directly or view it on GitHub: https://github.com/ismayc/rticles/issues/1
This has now been implemented. Since this is Markdown instead of knitr
I used
```{r ref.label = 'include_packages', results = 'hide', echo = TRUE}
instead of the <<>> syntax. Please let me know if there are any other issues or things you'd like implemented. Thanks again, @nicholasjhorton!
It might be nice to include some examples for where the code and output are hidden from code chunks (and deferred to show up in an appendix). This would involve some combination of:
<<loadknitr, echo=FALSE>>= require(knitr) options(width=60) @
in the main document and
\chapter{Appendix} \label{ch:appendix}
<<"all-blocks",results = 'hide',fig.width=5,fig.height=3,echo=TRUE>>= <>
<>
<>
<>
<>
<>
<>
<>
<>
<>
<>
<>
@
in the appendix