Load and list objects from an .rda file
Utility functions to read the names and load the objects from an .rda file, into an R list.
list.rda(.filename) obj.rda(.filename)
.filename |
The path to the file where the R object is saved. |
Files with the extension .rda are routinely created using the base function
save()
.
The function list.rda()
loads the object(s) from the .rda file into a list,
preserving the object names in the list components.
The .rda file can naturally be loaded with the base load()
function,
but in doing so the containing objects will overwrite any existing objects with the same names.
The function obj.rda()
returns the names of the objects from the .rda file.
A list, containing the objects from the loaded .rda file.
Adrian Dusa
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.