问题描述
我的工作流程最近出现了一些问题.我通常使用 devEMF 包将 Rplots 打印为 .emf 文件,然后在 powerpoint 中编辑它们.[将 emf 文件导入到 powerpoint,右键单击图像,然后选择取消组合.] 然而,最近当我取消组合"时,powerpoint 无法识别矢量格式.
Had some recent issues with my workflow. I normally print Rplots as .emf files using the devEMF package, and then edit them in powerpoint. [Import the emf file to powerpoint, right click on image, and select ungroup.] However, recently powerpoint isn't recognizing the vector format when I "ungroup."
我使用的是 windows 机器和 powerpoint 2016.
I'm using a windows machine and powerpoint 2016.
任何想法都会非常有帮助.内特
Any thoughts would be VERY helpful. Nate
推荐答案
只是在这里留下一个明确的答案——Powerpoint 还不允许编辑(取消分组")EMF+ 图形.因此,解决方案是告诉 devEMF 不要使用 emfPlus 功能(缺点是透明度等功能将不可用):
Just to leave a definitive answer here -- Powerpoint does not yet allow editing ("ungrouping") of EMF+ graphics. Thus the solution is to tell devEMF to not use emfPlus features (the downside being that features such as transparency will not be available):
emf(file = "test.emf", emfPlus = FALSE)
plot(1:10)
dev.off()
原发帖者的评论有效,因为旧版本的 devEMF 默认不使用 emfPlus.
The original poster's comment worked because the older version of devEMF did not use emfPlus by default.
这篇关于devEMF 导出和 powerpoint 问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!