I have made plots in R (RStudio) with ggplot2
. When I export them via export::graph2office
, the labels are moved around. However, this only happens
The answer probably is: yes, export::graph2office
moves axis labels around (so do export::graph2ppt
and export::graph2doc
). There is no way to fix this. If you want to style your graphs in R and export them as-is into Office, the export::graph2office
function, unfortunately, is not your way to go. However, the function can of course be used as a quick-and-dirty option to produce editable office-graphs.
If your goal is to export graphs in a more reliable manner, CairoSVG
might be a much better option (see my answer here: Producing a vector graphics image (i.e. metafile) in R suitable for printing in Word 2007).