R object file resource client
R object file resource client
A R6 object of class RDSFileResourceClient
resourcer::ResourceClient -> resourcer::FileResourceClient -> RDSFileResourceClient
new()Creates a new RDSFileResourceClient instance.
RDSFileResourceClient$new(resource)resourceA valid resource object.
A RDSFileResourceClient object.
asDataFrame()Coerce the resource value extracted from the R object file to a data.frame.
RDSFileResourceClient$asDataFrame(...)...Additional parameters to as.data.frame (not used yet).
A data.frame.
getValue()Get the resource value extracted from the R object file.
RDSFileResourceClient$getValue(...)...Additional parameters to get the value object (not used yet).
The resource value.
clone()The objects of this class are cloneable with this method.
RDSFileResourceClient$clone(deep = FALSE)deepWhether to make a deep clone.
Connects to a RDS file and loads the serialized object. Similar to the R data file resource, except that the RDS format stores a single R object.