Hi everyone, My forest plot when copied to a word file looks perfect. But I made a PDF of it and there is a diagonal line that appears over the study/authors column. It shouldn?t be there and I am not sure why it?s there in the first place. Anyone else experienced this? Please help. Thanks, Hazel
[R-meta] Unnecessary diagonal line
3 messages · Hazel Wellington, Gerta Ruecker, Wolfgang Viechtbauer
Dear Hazel,
I suggest producing the pdf version of your forest plot directly from R:
pdf("Filename.pdf")
[your meta/metafor code to create the forest plot]
dev.off()
Alternatively, you may use RMarkdown https://rmarkdown.rstudio.com/ to
create code, results and plots in one document (docx, pdf, or html).
Best,
Gerta
Am 06.09.2022 um 19:24 schrieb Hazel Wellington:
Hi everyone, My forest plot when copied to a word file looks perfect. But I made a PDF of it and there is a diagonal line that appears over the study/authors column. It shouldn?t be there and I am not sure why it?s there in the first place. Anyone else experienced this? Please help. Thanks, Hazel [[alternative HTML version deleted]]
_______________________________________________ R-sig-meta-analysis mailing list @ R-sig-meta-analysis at r-project.org To manage your subscription to this mailing list, go to: https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis
Dr. rer. nat. Gerta R?cker, Dipl.-Math. Guest Scientist Institute of Medical Biometry and Statistics, Faculty of Medicine and Medical Center - University of Freiburg Zinkmattenstr. 6a, D-79108 Freiburg, Germany Mail: ruecker at imbi.uni-freiburg.de Homepage: https://www.uniklinik-freiburg.de/imbi-en/employees.html?imbiuser=ruecker
Dear Hazel, Something like this? https://stackoverflow.com/q/28927205/2615367 Yes, that seems to be a general issue when copying metafiles to Word and then turning that into a pdf (via 'Save As' pdf). If you print to pdf (if you have that option), then the issue should not be there. Another thing that seems to fix this is to right-click on the imported image and select 'Edit Picture' (you then get a prompt to turn it into a drawing object - select Yes/Ok), although that may slightly alter the plot. Best, Wolfgang
-----Original Message-----
From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces at r-project.org] On
Behalf Of Dr. Gerta R?cker
Sent: Tuesday, 06 September, 2022 20:05
To: Hazel Wellington; r-sig-meta-analysis at r-project.org
Subject: Re: [R-meta] Unnecessary diagonal line
Dear Hazel,
I suggest producing the pdf version of your forest plot directly from R:
pdf("Filename.pdf")
[your meta/metafor code to create the forest plot]
dev.off()
Alternatively, you may use RMarkdown https://rmarkdown.rstudio.com/ to
create code, results and plots in one document (docx, pdf, or html).
Best,
Gerta
Am 06.09.2022 um 19:24 schrieb Hazel Wellington:
Hi everyone, My forest plot when copied to a word file looks perfect. But I made a PDF of it and there is a diagonal line that appears over the study/authors column. It shouldn?t be there and I am not sure why it?s there in the first place. Anyone else experienced this? Please help. Thanks, Hazel