Daffodil International University

Faculties and Departments => Teaching & Research Forum => Topic started by: Kamrulstat on September 20, 2015, 10:54:41 AM

Title: Beginning R
Post by: Kamrulstat on September 20, 2015, 10:54:41 AM
To take advantage of the thousands of add-on packages available for R, need to install the packages.
The command for installing a package is
                        install.packages("thepackagename")
Suppose, need to install statistical package stats then
                        install.packages("stats")
To see which packages are already installed on your system, type:
                        installed.packages()
To use a package need to load the package with
                       library("thepackagename")
If need to update packages then
                       update.packages()