Re: [R] rgl snapshot on headless server

2013-09-17 Thread Andreas Maunz
I have now resorted to installing a full X server on the server and run a screen there (i.e. log in a user automatically), whenever the server restarts. Then I can set DISPLAY=:0 before starting R. Not the most elegant solution but it works. Apart from Xvfb not working, I could also not find a VNC

Re: [R] rgl snapshot on headless server

2013-09-15 Thread Duncan Murdoch
On 13-09-15 6:02 AM, Andreas Maunz wrote: The other write* options seem to limited to me. I am looking for a way to obtain a PS, or at least a PNG, since I develop a web application on a server that needs to grab the screenshot and create a written report with it. Starting my Xvfb like this: Xvf

Re: [R] rgl snapshot on headless server

2013-09-15 Thread Andreas Maunz
The other write* options seem to limited to me. I am looking for a way to obtain a PS, or at least a PNG, since I develop a web application on a server that needs to grab the screenshot and create a written report with it. Starting my Xvfb like this: Xvfb :5 -screen 0 640x480x24 -ac +extension GLX

Re: [R] rgl snapshot on headless server

2013-09-11 Thread Andreas Maunz
I am running Xvfb now with -fbdir /some/path and -extension RANDR but rgl.snapshot is still not working. Any other idea? Since I can display the webGL successfully in firefox (so comes out correct), I assume there should be some way of converting it on the server side to some (vector) graphic fi

Re: [R] rgl snapshot on headless server

2013-09-11 Thread Duncan Murdoch
On 11/09/2013 11:44 AM, Andreas Maunz wrote: I am running Xvfb now with -fbdir /some/path and -extension RANDR but rgl.snapshot is still not working. Any other idea? Since I can display the webGL successfully in firefox (so comes out correct), I assume there should be some way of converting

Re: [R] rgl snapshot on headless server

2013-09-10 Thread Duncan Murdoch
On 10/09/2013 10:58 AM, Andreas Maunz wrote: Hi all, I have a shiny app, in which I want to use rgl's snapshot function. I am running Xvfb on my server so that rgl works. I start my shiny app as follows: echo "Checking for Xvfb..." pgrep -U username Xvfb > /dev/null 2>&1 if [ "$?" -gt 0 ]; the

[R] rgl snapshot on headless server

2013-09-10 Thread Andreas Maunz
Hi all, I have a shiny app, in which I want to use rgl's snapshot function. I am running Xvfb on my server so that rgl works. I start my shiny app as follows: echo "Checking for Xvfb..." pgrep -U username Xvfb > /dev/null 2>&1 if [ "$?" -gt 0 ]; then echo "Starting Xvfb..." Xvfb :7 -screen 0

Re: [R] rgl-snapshot failed (err-msg: "failed")

2008-10-15 Thread Duncan Murdoch
On 10/10/2008 8:55 AM, Oliver Bandel wrote: Zitat von Duncan Murdoch <[EMAIL PROTECTED]>: On 10/10/2008 8:13 AM, Oliver Bandel wrote: > Hello, > > > I tried to use rgl.snapshot and it failed. > > The error message was not very verbose: > > > > == >> >> plot3d( motion[[idx+2]

Re: [R] rgl-snapshot failed (err-msg: "failed")

2008-10-10 Thread Duncan Murdoch
On 10/10/2008 8:55 AM, Oliver Bandel wrote: Zitat von Duncan Murdoch <[EMAIL PROTECTED]>: On 10/10/2008 8:13 AM, Oliver Bandel wrote: Hello, I tried to use rgl.snapshot and it failed. The error message was not very verbose: == plot3d( motion[[idx+2]], motion[[idx+1]]

Re: [R] rgl-snapshot failed (err-msg: "failed")

2008-10-10 Thread Oliver Bandel
Zitat von Duncan Murdoch <[EMAIL PROTECTED]>: > On 10/10/2008 8:13 AM, Oliver Bandel wrote: > > Hello, > > > > > > I tried to use rgl.snapshot and it failed. > > > > The error message was not very verbose: > > > > > > > > == > >> > >> plot3d( motion[[idx+2]], motion[[idx+1]], m

Re: [R] rgl-snapshot failed (err-msg: "failed")

2008-10-10 Thread Duncan Murdoch
On 10/10/2008 8:13 AM, Oliver Bandel wrote: Hello, I tried to use rgl.snapshot and it failed. The error message was not very verbose: == plot3d( motion[[idx+2]], motion[[idx+1]], motion[[idx]] ) rgl.snapshot(filename="/tmp/shot_01.png", fmt="png") [1] "failed" ==

[R] rgl-snapshot failed (err-msg: "failed")

2008-10-10 Thread Oliver Bandel
Hello, I tried to use rgl.snapshot and it failed. The error message was not very verbose: == > > > plot3d( motion[[idx+2]], motion[[idx+1]], motion[[idx]] ) > rgl.snapshot(filename="/tmp/shot_01.png", fmt="png") [1] "failed" > == There was a graphic c

Re: [R] rgl snapshot

2008-04-20 Thread Duncan Murdoch
On 20/04/2008 12:33 AM, Mike Ryckman wrote: > Hello everyone, > > I know I can save a snapshot an rgl device, but currently it only appears to > do png format. Is there some way of exporting a high-quality picture more > fit for publication? There's also rgl.postscript. It uses the gl2ps libra

[R] rgl snapshot

2008-04-19 Thread Mike Ryckman
Hello everyone, I know I can save a snapshot an rgl device, but currently it only appears to do png format. Is there some way of exporting a high-quality picture more fit for publication? Thanks, Mike __ R-help@r-project.org mailing list https://sta