Displaying 1 result from an estimated 1 matches for "get_serialization_version".
2019 Jul 15
2
What is the best way to determine the version of an `.rds`?
Hi,
I am writing a test that consults the serialization version of an `.rds`
file.
An attractive way to get this is:
tools:::get_serialization_version() # reports just version
which calls
.Internal(serializeInfoFromConn() # reports much more
but neither is truly exported for public use.
Is there an official, exported way to get the serialization version? It is
possible to get this information with R code yourself, but it doesn't feel
very...