Created
February 18, 2025 05:32
-
-
Save pormr/b2074a31faf75ba7ecf15a861d239cf9 to your computer and use it in GitHub Desktop.
Get the version of R from .rds/.rda files in which it was saved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Get the R version from .Rdata/.rda files in which it was saved | |
| .Internal(loadInfoFromConn2(file("path/to/your/file.rdata")))$writer_version | |
| ## Get the R version from .RDS files in which it was saved | |
| .Internal(serializeInfoFromConn(file("path/to/your/file.RDS")))$writer_version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment