Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-04 Thread S Ellison
Apologies; in my last post (below) I should have distinguished between action on the current patch and suggested action for the future. I bow to Duncan on the fate of the current patch, as he's managing it. The suggestions of an extra savePlot parameter or a wrapper function with extension defaul

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-04 Thread S Ellison
>>> Michael Prager <[EMAIL PROTECTED]> 06/04/08 4:28 AM >>> >There is much to be said for consistency (across platforms and >functions) and stability (across versions) in software. I could not agree more. But while consistency is an excellent reason for making the patch consistent across platfor

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-04 Thread Duncan Murdoch
Gabor Grothendieck wrote: On Tue, Jun 3, 2008 at 10:36 PM, Simon Urbanek <[EMAIL PROTECTED]> wrote: On Jun 3, 2008, at 8:40 PM, Duncan Murdoch wrote: On 03/06/2008 2:35 PM, Mike Prager wrote: "S Ellison" <[EMAIL PROTECTED]> wrote: Plaintive squeak: Why the change? Som

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-04 Thread Duncan Murdoch
Simon Urbanek wrote: On Jun 3, 2008, at 8:40 PM, Duncan Murdoch wrote: On 03/06/2008 2:35 PM, Mike Prager wrote: "S Ellison" <[EMAIL PROTECTED]> wrote: Plaintive squeak: Why the change? Some OS's and desktops use the extension, so forgetting it causes trouble. The new default f

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-04 Thread Michael Prager
If asked, this user would agree with Simon, for the "several reasons" he stated. There is much to be said for consistency (across platforms and functions) and stability (across versions) in software. MHP Simon Urbanek wrote on 6/3/2008 10:36 PM: > > On Jun 3, 2008, at 8:40 PM, Duncan Murdoch w

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread Gabor Grothendieck
On Tue, Jun 3, 2008 at 10:36 PM, Simon Urbanek <[EMAIL PROTECTED]> wrote: > > On Jun 3, 2008, at 8:40 PM, Duncan Murdoch wrote: > >> On 03/06/2008 2:35 PM, Mike Prager wrote: >>> >>> "S Ellison" <[EMAIL PROTECTED]> wrote: Plaintive squeak: Why the change? Some OS's and desktops use t

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread Simon Urbanek
On Jun 3, 2008, at 8:40 PM, Duncan Murdoch wrote: On 03/06/2008 2:35 PM, Mike Prager wrote: "S Ellison" <[EMAIL PROTECTED]> wrote: Plaintive squeak: Why the change? Some OS's and desktops use the extension, so forgetting it causes trouble. The new default filename keeps a filetype (as before)

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread Duncan Murdoch
On 03/06/2008 2:35 PM, Mike Prager wrote: "S Ellison" <[EMAIL PROTECTED]> wrote: Plaintive squeak: Why the change? Some OS's and desktops use the extension, so forgetting it causes trouble. The new default filename keeps a filetype (as before) but the user now has to type a filetype twice (on

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread Duncan Murdoch
On 6/3/2008 11:22 AM, S Ellison wrote: Plaintive squeak: Why the change? Some OS's and desktops use the extension, so forgetting it causes trouble. The new default filename keeps a filetype (as before) but the user now has to type a filetype twice (once as the type, once as extension) to get th

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread Mike Prager
"S Ellison" <[EMAIL PROTECTED]> wrote: > Plaintive squeak: Why the change? > > Some OS's and desktops use the extension, so forgetting it causes > trouble. The new default filename keeps a filetype (as before) but the > user now has to type a filetype twice (once as the type, once as > extension

Re: [Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread Gabor Grothendieck
Not sure if this is sufficient but note that if you leave the filename off entirely then the extension does default to the type. savePlot() # wmf savePlot(type = "jpg") > args(savePlot) function (filename = paste("Rplot", type, sep = "."), type = c("wmf", "emf", "png", "jpg", "jpeg", "bmp", "

[Rd] savePlot() no longer automatically adds an extension to the filename.

2008-06-03 Thread S Ellison
Plaintive squeak: Why the change? Some OS's and desktops use the extension, so forgetting it causes trouble. The new default filename keeps a filetype (as before) but the user now has to type a filetype twice (once as the type, once as extension) to get the same effect fo rtheir own filenames. An