Dear Daniel (and Duncan):
back in January you reported that you were having trouble saving an rgl
movie on Vista. I don't know if you ever got that resolved, but a
student of mine is now having a similar problem, not specific to dynamic
graphics (which would have to be a problem outside of rgl anyway). He
may report more on the symptoms, but essentially rgl.snapshot produces
black or funky output on a simple static image. rgl.postscript hangs.
I am afraid this might be a generic Vista problem ... I haven't yet
gotten around to rebooting my Linux machine into Vista so that I can
check on it.
http://www.nabble.com/Can-a-dynamic-graphic-produced-by-rgl-be-saved--td14649977.html
The example we ran would be something as simple as
library(rgl)
rgl.open()
rgl.spheres(1:3,1:3,1:3,col="red")
rgl.snapshot("test.png")
## brings rgl window to top, creates funky gray and white png file
rgl.postscript("test.ps") ## hangs
Duncan, do you have any ideas? Do you have any reports (positive
or negative) from people running rgl.snapshot() on Vista?
RSiteSearch("rgl vista") turned up only this thread ...
cheers
Ben Bolker
--
Ben Bolker
Associate professor, Biology Dep't, Univ. of Florida
bolker at ufl.edu / www.zoology.ufl.edu/bolker
GPG key: www.zoology.ufl.edu/bolker/benbolker-publickey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL:
<https://stat.ethz.ch/pipermail/r-devel/attachments/20081204/e3c84ba5/attachment.bin>
Ben Bolker wrote:> Dear Daniel (and Duncan): > > back in January you reported that you were having trouble saving an rgl > movie on Vista. I don't know if you ever got that resolved, but a > student of mine is now having a similar problem, not specific to dynamic > graphics (which would have to be a problem outside of rgl anyway). He > may report more on the symptoms, but essentially rgl.snapshot produces > black or funky output on a simple static image. rgl.postscript hangs. > I am afraid this might be a generic Vista problem ... I haven't yet > gotten around to rebooting my Linux machine into Vista so that I can > check on it. >I haven't heard of this problem before. I would guess it is more likely related to your video driver (which may be Vista-specific), rather than Vista per se. If that's the case, it's really hard to fix or work around, but it may be worthwhile seeing if the video card maker has an update. Duncan Murdoch> http://www.nabble.com/Can-a-dynamic-graphic-produced-by-rgl-be-saved--td14649977.html > > The example we ran would be something as simple as > > library(rgl) > rgl.open() > rgl.spheres(1:3,1:3,1:3,col="red") > rgl.snapshot("test.png") > ## brings rgl window to top, creates funky gray and white png file > rgl.postscript("test.ps") ## hangs > > Duncan, do you have any ideas? Do you have any reports (positive > or negative) from people running rgl.snapshot() on Vista? > RSiteSearch("rgl vista") turned up only this thread ... > > cheers > Ben Bolker > >