eugen pircalabelu
2009-Oct-15 16:01 UTC
[R] ImageMagick not seen by movie3d function from rgl package
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
Duncan Murdoch
2009-Oct-15 16:31 UTC
[R] ImageMagick not seen by movie3d function from rgl package
On 10/15/2009 12:01 PM, eugen pircalabelu wrote:> 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?Likely it's not really in your path. Use Sys.getenv("PATH") to see what R sees as your path. It certainly won't look like what you just posted: those % variables will be expanded, for instance. If C:\Program Files\ImageMagick-6.5.6-Q16 is on your real path, then go to that folder, and make sure the executable "convert.exe" is there. That's what rgl is looking for. Duncan Murdoch> 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 > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Apparently Analagous Threads
- movie3d in rgl object 'movie' not found
- movie3d function in the rgl package
- Can a dynamic graphic produced by rgl be saved?
- rgl: insert pauses in animation sequence / movie formats other than gif?
- convert command not found in movie3d (rgl package) in Mac OS X