Get the list of installed packages by user in R Get the list of installed packages by user in R r r

Get the list of installed packages by user in R


ref

ip = as.data.frame(installed.packages()[,c(1,3:4)])ip = ip[is.na(ip$Priority),1:2,drop=FALSE]ip


I just found another ways to see the list of the packages without writing any code:

  • Open RStudio
  • Navigate to Help --> R Help (from the menu above)
  • You will see the help panel opened.
  • Then follow, Reference --> Packages

There you are.


OR

  • Open R console
  • Navigate to Help --> Html help
  • Then follow, Reference --> Packages


str(allPackage <- installed.packages(.Library, priority = "high"))allPackage [, c(1,3:5)]

You will get all the active package List