Description Usage Arguments Value Author(s) References See Also Examples
This provides a table of contents for a previously
save
d file. The idea is that
this provides a simple way to find out what is in
an rda file. It can return just the names or
alternatively the name and class of each object.
Currently, this loads the entire file but into a separate environnment. One can specify the environment and this allows the caller to load the objects to see what is in the file and then access individual elements without polluting the global environment. In the future, we might be able to extract the table of contents without loading the objects.
1 |
file |
the connection or file name in which to find the serialized data |
names.only |
a logical value indicating whether to return just
the names of the symbols in the serialized data, or if |
e |
the environment into which the serialized objects should be deserialized. In the future, this may disappear when we can extract the information without explicitly loading the objects. |
Either a character vector giving the names of the variables/symbols in the serialized data or a named character vector giving the symbol name and class pairs.
Duncan Temple Lang
save and load in R's base package.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.