[R] r-markdown - keeping figures

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Wed Oct 21 14:21:59 CEST 2015


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 Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On October 21, 2015 1:47:33 PM GMT+02:00, Bob O'Hara <rni.boh at gmail.com> wrote:
>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 <wewolski at gmail.com>
>wrote:
>> 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
>>
>> ______________________________________________
>> 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.



More information about the R-help mailing list