Re: [R] r-markdown - keeping figures

2015-10-21 Thread Yihui Xie
Yes, setting the fig.path option will prevent rmarkdown from deleting the figure files, and the more natural way to preserve these intermediate files is to set the rmarkdown option keep_tex or keep_md (depending on your output format) to yes, e.g. --- output: pdf_document: keep_tex: yes

Re: [R] r-markdown - keeping figures

2015-10-21 Thread John Kane
> From: wewol...@gmail.com > Sent: Tue, 20 Oct 2015 18:18:04 +0200 > To: r-help@r-project.org > Subject: [R] r-markdown - keeping figures > > I am running r-markdown from r-studio and can't work out how to keep > the figures. > I mean I have a few figures in the document and would

Re: [R] r-markdown - keeping figures

2015-10-21 Thread Bob O'Hara
The figures should be saved somewhere. e.g. if you have x.Rmd, you should have a X_files/ folder with subfolders for the figures (e.g. X-html or X-latex). At least that's what I have. Bob On 20 October 2015 at 18:18, Witold E Wolski wrote: > I am running r-markdown from

Re: [R] r-markdown - keeping figures

2015-10-21 Thread Jeff Newmiller
I think the default now is to not save them unless you set the fig.path chunk option. http://kbroman.org/knitr_knutshell/pages/Rmarkdown.html --- Jeff NewmillerThe . . Go Live...

[R] r-markdown - keeping figures

2015-10-20 Thread Witold E Wolski
I am running r-markdown from r-studio and can't work out how to keep the figures. I mean I have a few figures in the document and would like to have them as separate pdf's too as I have been used to have them when using Sweave. best regards Witold -- Witold Eryk Wolski