[Rd] readRDS and saveRDS

Gavin Simpson gavin.simpson at ucl.ac.uk
Tue Oct 18 18:53:51 CEST 2011


On Tue, 2011-10-18 at 08:37 -0500, Hadley Wickham wrote:
> Hi all,
> 
> Is there any chance that readRDS and saveRDS might one day become
> read.rds and write.rds?  That would make them more consistent with the
> other reading and writing functions.
> 
> Hadley
> 

I would hope not. Those would then look like S3 methods for class "rds"
and cause confusion of a different sort.

It would be better to make the existing read.foo and write.foo functions
drop their "." but that is unlikely to happen given all the code that
would inevitably break.

G

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-devel mailing list