Beginning R

Author Topic: Beginning R  (Read 994 times)

Offline Kamrulstat

  • Newbie
  • *
  • Posts: 25
    • View Profile
Beginning R
« 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()
Md. Kamrul Hossain