Managing Your Objects
As a typical R session progresses, you tend to accumulate a large number of objects. Various tools are available to manage them. Here, we’ll look at the following:
Several functions that tell you more about the structure of an object, such as
Listing Your Objects with the ls() Function
ls() command will list all of your current objects. A useful named argument for this function is
pattern, which enables wildcards. Here, you tell
ls() to list only the objects whose names include a specified pattern. The following is an example.
> ls()  "acc" "acc05" "binomci" "cmeans" "divorg" "dv"  "fit" "g" "genxc" "genxnt" "j" "lo"  "out1" ...