Looking for Software Paths in Windows Registry | /en/2010/03/looking-for-software-paths-in-windows-registry/
Looking for Software Paths in Windows Registry
https://yihui.org/en/2010/03/looking-for-software-paths-in-windows-registry/
https://yihui.org/en/2010/03/looking-for-software-paths-in-windows-registry/
Guest *Tal Galili* @ 2010-03-29 01:17:13 originally posted:
Cool Tip Yihui,
Please consider also showing how to use this in conjecture with the tools you mentioned in the post, through R:
ImageMagick, OpenBUGS
p.s: consider using the "subscribe to comments" plugin :)
Cheers,
Tal
Thanks for your suggestion! The RSS icon in the address bar of Firefox will show the link to subscribe to comments (Firefox can detect RSS links in a page automatically).
I'll add two examples later.
Originally posted on 2010-03-29 02:38:58
Guest *Tal Galili* @ 2010-03-29 14:47:59 originally posted:
Regarding the examples - Great!
Regarding the plugin - it allows people to subscribe using e-mail (that thing that people who don't know what RSS is use). My experience is that it is very useful for readers...
Cheers,
Tal
Guest *Fernando* @ 2011-03-02 01:44:22 originally posted:
Hi, here is the code you have to use on Windows
if (nzchar(magick.path) && require(animation)) {
convert = shQuote(normalizePath(file.path(magick.path, "convert.exe")))
## record the demo 'recur.tree' in png images
png("magickEx%d.png")
demo(recur.tree)
dev.off()
## call convert.exe to convert png images to GIF
shell("convert -delay 20 -loop 0 magickEx*.png magickEx.gif")
}
file.remove(list.files(pattern=".png"))
If you´re using windows you have to use the shell function instead of system
Really? I switched back and forth between shell() and system() for several times when I was writing the function saveGIF() in the animation package. Finally I thought system() should be safe enough to call convert.exe under Windows. Anyway, if you want to use shell() in saveGIF(), you can specify it as saveGIF(..., cmd.fun = shell) after library(animation).
Originally posted on 2011-03-02 06:21:50
Sign in to join the discussion
Sign in with GitHub