首页 > 解决方案 > 在 R+ggplot2+gganimate 中使用多个 CPU 内核

问题描述

我有一个 8 核 Intel i7 CPU,但正在运行anim_savehttps://www.rdocumentation.org/packages/gganimate/versions/1.0.6/topics/anim_save)以保存ggplot2+gganimate对象(https://github.com /thomasp85/gganimate ) 到 .gif 花费的时间比预期的要长得多。是否可以将多个 CPU 内核(我有 3.8 GHz 8 核 Intel Core i7)与anim_save(或以其他方式加速)一起使用?

标签: rperformanceparallel-processinggganimatecpu-cores

解决方案


推荐阅读