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

Mike Prager mike.prager at noaa.gov
Tue Jun 3 20:35:06 CEST 2008


"S Ellison" <S.Ellison at lgc.co.uk> 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 the same effect fo rtheir own filenames. And the
> extension isn't then checked for consistency with valid file types, so
> it can be mistyped and saved with no warning. Hard to see the advantage
> of doing away with it...

Just for the record. . .

This change broke a *lot* of my code, including code used by
others.  Windows depends on file extensions.  Fortunately, fixes
using getRversion are not too difficult.

-- 
Mike Prager, NOAA, Beaufort, NC
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.



More information about the R-devel mailing list