R Tip: Listing Loaded Packages

Monday, September 13, 2010 at 2:22 PM Bookmark and Share
A friend recently asked how you list the packages currently loaded into R's workspace, as opposed to listing all available packages which is what library() does. The answer?
> (.packages())

4 comments:

Posted by: Anonymous | 7/02/2014 8:47 AM

Exactly what I was looking for. Thank you.

Posted by: Anonymous | 1/03/2016 6:15 PM

Thanks!

Posted by: Unknown | 5/22/2016 7:39 PM

not so intuitive-- thanks a bunch!

Posted by: Unknown | 2/09/2017 12:23 PM

Why is the command goes surrounded with parentheses?

Post a Comment