[RkWard-devel] new export plugin

Prasenjit Kapat kapatp at gmail.com
Thu Feb 22 12:57:33 UTC 2007


@Thomas,

On Thursday 22 February 2007 06:56, Thomas Friedrichsmeier wrote:
> A few suggestions:
> 1) Instead of "None" for papersize, fontsize, encoding, write "Default"
> 1b) The papersize option "Use papersize definition" is redundant, as
> paper="default" is equivalent to omitting the parameter.
> 2) The default resolution for png() and jpeg() is 96 dpi, so that should be
> the default value for the spinbox as well.
> 3) There's a spurious <frame> around the png/jpeg options

Done.

> 4) I think autowidth and autoheight should be set by default
> 4b) The necessity to set either width or height for png() and jpeg() can be
> lifted from the user: If both are set to default in the GUI, the call to
> dev.print() could be
>
> > dev.print(png, width=par("din")[1]*96, height=par("din")[2]*96)

I am not sure I have understood you correctly. So, for JPEG/PNG the user will 
not be able to provide width/height explicitely but rather will (may) change 
ONLY the resolution (dpi) values? In other words, width and height gui 
options will be enabled only for PS/PDF?

Regards
PK




More information about the Rkward-devel mailing list