How to find list of attached data-sets in R?

Sam picture Sam · Feb 28, 2012 · Viewed 23.2k times · Source

Is there any method in R to find out what data-sets have been attached. In my work flow i use the console and build a script. I try out the lines of code in console and once i am satisfied with the results, i add them to a script so that I can reproduce the results later. For past week i have been playing with a few data-sets. I think I attached and detached a number of them over time. But now I need to know what data-sets are current attached, so that I can detach them.

Answer

zipizip picture zipizip · Feb 28, 2012

I guess you are searching for the search() command. This should show the attached dataframes and packages you have included.

also type help(search) and check what it is doing.