[Rd] png problem on Intel Mac (PR#9287)

higgins at nceas.ucsb.edu higgins at nceas.ucsb.edu
Tue Oct 10 22:57:00 CEST 2006


Full_Name: Daniel F Higgins
Version: 2.4.0
OS: Mac OS X 10.4.8
Submission from: (NULL) (128.111.242.49)


When running the commands

png(filename='aaa.jpg', width=480, height=480)
plot(c(1,2,3))

in the Mac OSX graphical interface window, the png file 'aaa.png' is created if
one clicks on the 'X' icon to start the X window application first.

However, if you enter 'R' on the command line (i.e. inside Terminal) and then
enter the same commands using the command line version of R, no png file ever
gets created (and no errors are generated).

Note that this error does not occur on older PowerPC Mac (only on Intel Mac)

(And it would be nice if X did not have to be running to create png or jpeg
output graphics.)




More information about the R-devel mailing list