


GrDevices The R Graphics Devices and Support for Colours Packages in library ‘/usr/lib/R/library’:īoot Bootstrap Functions (originally by Angelo CantyĬluster Cluster Analysis Extended Rousseeuw et al.įoreign Read Data Stored by Minitab, S, SAS, SPSS, This will output all available packages with a short description as shown below. Moreover, you can execute the library() function without arguments. "rpart" "spatial" "splines" "stats" "stats4" "methods" "mgcv" "nlme" "nnet" "parallel" "grid" "KernSmooth" "lattice" "MASS" "Matrix" "compiler" "datasets" "foreign" "graphics" "grDevices" "base" "boot" "class" "cluster" "codetools"

In order to see all available packages we add the all.available option to the above R expression > (.packages(all.available=TRUE)) "stats" "graphics" "grDevices" "utils" "datasets" "methods" You can also list the currently loaded packages by > (.packages()) This package is always loaded when you start R and it contains the elementary R functions. In the list above the base package was omitted.

"datasets" "utils" "grDevices" "graphics" "stats" "methods" In order to check for default packages installed with R it is possible to use the getOption() function as follows: > getOption("defaultPackages") Loading a large number of packages may result in errors due to clashes of function names coming from two different packages. It is recommended that you do not load too many packages at the time. You also need to remember about loading packages into your current R session. You can, however, add additional libraries. In general, the one system-level library is used for storing the default R packages. In order to use a package in R you need to first make sure that it is installed in the local library. What is a PackageĪ package is a set of functions, help files and data files that have been linked together. This article will describe how to install and use packages under R. Many packages are already a part of the basic R installation, however, some of them need to be additionally installed into GNU R. Some packages are designed for applications specific to a given industry. There are all kinds of packages for R, which allow to display graphics or perform statistical tests. GNU R offers a wide variety of packages for its users.
