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

11 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: Unknown | 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!!

Posted by: Brenton | 3/21/2019 9:18 AM

Surrounding the command in parentheses undoes `invisible` and implicitly calls `print()`

Posted by: Mutlu | 8/08/2023 7:26 AM

yurtdışı kargo
resimli magnet
instagram takipçi satın al
yurtdışı kargo
sms onay
dijital kartvizit
dijital kartvizit
https://nobetci-eczane.org/
ZR837

Posted by: Hasibi | 8/18/2023 6:13 AM

salt likit
salt likit
dr mood likit
big boss likit
dl likit
dark likit
W1X47R

Post a Comment