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())

8 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?

Posted by: prateek parkash | 4/03/2017 3:51 AM

thanks

Posted by: Adeel Ahmed | 12/13/2017 12:50 AM

thanks for this. was looking everywhere.

Posted by: Anonymous | 1/17/2018 8:02 AM

Indeed, why do we have to surround the .packages() with parentheses. Does that undo invisible?

Posted by: Juan Antonio Pajarillo | 4/30/2018 5:59 AM

Thanks!!

Post a Comment