Robert Dodier
2021-Feb-18 19:03 UTC
[R] ISO recommendations for plot output format from R to MS Word
On Thu, Feb 18, 2021 at 10:12 AM Kevin Thorpe <kevin.thorpe at utoronto.ca> wrote:> I would think that it would be more seamless to use Rmarkdown. > Simply put the plotting code into an Rmarkdown file and send it > straight to Word. Is there a reason why this is not a viable option?Hi Kevin, thanks for your reply. Well, I started working with Word because at least one other person needs to edit it and they want to use Word. More fundamentally, it's not clear to me that going through Rmarkdown solves the problem of determining the image format -- at some point a figure is going to get generated and then pasted into a Word document. It's not clear that doing that automatically is going to work better or differently than doing it by hand. Anyway I think I have a working solution at this point so I leave it to others to investigate further possibilities. best, Robert Dodier
Kevin Thorpe
2021-Feb-18 19:16 UTC
[R] ISO recommendations for plot output format from R to MS Word
> On Feb 18, 2021, at 2:03 PM, Robert Dodier <robert.dodier at gmail.com> wrote: > > EXTERNAL EMAIL: > > On Thu, Feb 18, 2021 at 10:12 AM Kevin Thorpe <kevin.thorpe at utoronto.ca> wrote: > >> I would think that it would be more seamless to use Rmarkdown. >> Simply put the plotting code into an Rmarkdown file and send it >> straight to Word. Is there a reason why this is not a viable option? > > Hi Kevin, thanks for your reply. Well, I started working with Word > because at least one other person needs to edit it and they want to > use Word. More fundamentally, it's not clear to me that going through > Rmarkdown solves the problem of determining the image format -- at > some point a figure is going to get generated and then pasted into a > Word document. It's not clear that doing that automatically is going > to work better or differently than doing it by hand. Anyway I think I > have a working solution at this point so I leave it to others to > investigate further possibilities. > > best, > > Robert DodierFair enough. I mentioned it since from my limited experience sending to Word (I hate Word) the images seem to look fine. Whatever is done seems to work. With the Rmarkdown generated Word file, I imagine copy/paste into the ?master? Document would work just fine. Kevin -- Kevin E. Thorpe Head of Biostatistics, Applied Health Research Centre (AHRC) Li Ka Shing Knowledge Institute of St. Michael's Assistant Professor, Dalla Lana School of Public Health University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016