Skip to content
Prev 6472 / 63424 Next

Producing PNG on Debian Linux (was the false bug report, Re: [Rd] png output requires X connection (PR#1165))

On Sun, 18 Nov 2001, Dirk Eddelbuettel wrote:

            
Don't know: suspect it is a permissions / Xauth thing.   To be precise,
I've only ever tested my Solaris server (ex my desktop machine).

I tried

auk% cat /tmp/R.sh
#!/bin/sh
echo | R -q --no-save <<EOF
png("/tmp/test.png")
plot(1:10)
graphics.off()
EOF

auk% echo /tmp/R.sh | at now

and it worked and wrote test.png.


Brian