[R] ImageMagick not seen by movie3d function from rgl package
eugen pircalabelu
eugen_pircalabelu at yahoo.com
Thu Oct 15 18:01:48 CEST 2009
Hello R-users,
I have downloaded and installed a binary version for Windows OS of ImageMagick (ImageMagick6.5.6-10-q16-windows-dll.exe), I have installed the rgl package and i've tried running the following example from ?movie3d()
library(rgl)
open3d()
plot3d( cube3d(col="green") )
M <- par3d("userMatrix")
play3d( par3dinterp( userMatrix=list(M,
rotate3d(M, pi/2, 1, 0, 0),
rotate3d(M, pi/2, 0, 1, 0) ) ),
duration=4 )
movie3d( spin3d(), duration=5 )
and then I get the following message:
Writing movie050.png
Error in movie3d(spin3d(), duration = 5) : ImageMagick not found
which if I am correct means that R can not see ImageMagick (i have in the ImageMagick in the path variable:
C:\Program Files\ImageMagick-6.5.6-Q16;;%GTK_BASEPATH%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\jEdit)
I have found some earlier post with apparently the same problem, but no solution.
Can anyone tell me what i am doing wrong?
Thank you very much and have a great day ahead!
> sessionInfo()
R version 2.9.1 (2009-06-26)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] tcltk stats graphics grDevices utils datasets methods base
other attached packages:
[1] caTools_1.10 bitops_1.0-4.1 rgl_0.87 Rcmdr_1.5-3 car_1.2-16 scatterplot3d_0.3-28
[7] MASS_7.2-47 mgcv_1.5-5 lattice_0.17-25 foreign_0.8-36
loaded via a namespace (and not attached):
[1] grid_2.9.1 nlme_3.1-92 tools_2.9.1
More information about the R-help
mailing list