Making animated gifs using R [duplicate]

旧巷老猫 提交于 2019-12-03 13:41:08
Dirk Eddelbuettel

Repeat Question : Please see this previous StackOverflow question on creating a series of plots in R which offers a number of solutions including pointers to other useful packages such as the animation package.

Also be sure to check out the animation package

I'd recommend just generating a series of png files (which happens by default each time you run plot with the png device open). You can then combine them into an animated gif with another program such as ImageMagick.

Here is sample code of using Imagemagick (called through R) for any sequence of png's you generate.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!