Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system2 test code #1

Open
yulijia opened this issue Feb 6, 2018 · 1 comment
Open

system2 test code #1

yulijia opened this issue Feb 6, 2018 · 1 comment

Comments

@yulijia
Copy link
Owner

yulijia commented Feb 6, 2018

library(animation)
## generate some images
owd = setwd(tempdir())
ani.options(interval = 0.05, nmax = 20)
png("bm%03d.png")
brownian.motion(pch = 21, cex = 5, col = "red", bg = "yellow", 
  main = "Demonstration of Brownian Motion")
dev.off()

## filenames with a wildcard *
im.convert("bm*.png", output = "bm-animation1.gif")

ani.options(imgnfmt='%02d')

resolution

@yulijia
Copy link
Owner Author

yulijia commented Mar 16, 2019

Damn, I already forget why I start this test.
It seems that I will receive an error message after run the code above:

Error in magick_image_readpath(path, density, depth, strip) :
Magick: unable to open image `bm*.png': No such file or directory @ error/blob.c/OpenBlob/2761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant