Sam Sam - 1 year ago 62
R Question

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

Is there any method in

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 Source

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.