How to find all the installed packages:

To get the installed packages on the device we use installed.packages() and it does not need any parameters as well. This function will show all the installed packages on the device.

Syntax:

installed.packages()

installed.packages() will return all the installed functions on the system.

R




installed.packages()


Output:

 



Manage packages in R

In this article, we will see how to manage packages in R Programming Language using R script.

Similar Reads

What are R packages?

R packages are the set of functions and datasets written in a single code and are stored in a directory called library....

How to Install packages:

To install the package in R use install.packages(“packagename”) and replace packagename by the package you want to install....

How to Uninstall packages:

...

How to Update packages:

To uninstall/remove the package from your device use remove.package(“packagename”) and replace the package name by the package you want to uninstall/remove. This function will remove the package if it is already installed....

How to find all the installed packages:

...