R has over 10,000 packages, most of which contain functions. Functions are at the heart of R and provide R with R’s great versatility. Functions are R objects, and they are of both mode and class function. Packaged functions are functions that have been created as a part of an R package. On the computer, packages are stored in libraries and are installed to be in a library.
The Libraries
When R is initially installed, currently, the packages base, boot, class, cluster, codetools, compiler, datasets, foreign, graphics, grDevices, grid, KernSmooth, lattice, MASS, Matrix, methods,