[R] Default value for title in postscript function

Patrick Connolly p.connolly at hortresearch.co.nz
Wed Apr 23 00:08:00 CEST 2003

I like the fact that the postscript function enables the possbiility
of a more useful title than before.  However, I'd prefer the default
to be the file name.  

It's very simple for me to make my own postscript function that does
just that simply by setting title = file.  I always use onefile =
TRUE, so it always works (so far).  However, I'm a little reluctant to
do that in case some future changes cause conflicts.  I've been warned
off tinkering with .Internal

My question is: What is the tidiest way of doing such a thing?  Should
I make a private function that calls the standard postscript function,
or should I go the whole hog and make an S4 type method to handle it?

Or would it be simpler for the standard function to be changed
(assuming, of course, there aren't good reasons against doing that)?


Patrick Connolly
Mt Albert
New Zealand 
Ph: +64-9 815 4200 x 7188
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 

More information about the R-help mailing list