I sometimes use print( load( \"myDataFile.RData\" ) ) to list the contents of a data file when I load it. Is there a way to list the contents without loading th
print( load( \"myDataFile.RData\" ) )
In R v3.0.1 the load() function got a new argument. Loading an RData file with
load()
load("mydata.RData", verbose=TRUE)
will show you the objects that are loaded. Of course, it still means you have to load the object.