inspect_RData {lazy.tools}R Documentation

inspect the contents of RData file

Description

This function inspects the contents of an RData file.

Usage

inspect_RData(RData, str = 0, max.level = 0)

Arguments

RData

The name of .RData file

str

= 1 to apply str to each object

max.level

the max.level option for str

Details

Note that saveRDS(object,filename.RDS) saves a single object in an external file and that save(object1,object2,..., file="filename.RData") saves the multiple objects in an external file.

Examples

a <- 1;  b <- 2;  C <- matrix(1:6,3,2);  E <- letters[1:5]
ds <- data.frame(a,b,C);  ds2 <- list(C,ds)
save(a,b,C,ds,ds2,E, file="testRData.RData")
inspect_RData("testRData.RData")

# retrieve the contents from .RData file
# loadRDS( RDatafilename )


[Package lazy.tools version 1.0.0.20260516 ]