Skip to content
Prev 39078 / 63424 Next

Save and serialize

On Mon, 7 Feb 2011, Hadley Wickham wrote:

            
See the R-internals manual: there is more info in the R-devel version, 
not least because saveRDS() is added to the mix.

But basically serialize() and saveRDS() use the same format, and 
save() writes a header and then serializes a pairlist of the objects 
given.

'The same algorithm' is somewhat misleading here: strictly no, as they 
manage to use four entry points to the code base.