

libPaths() function.libPaths() # Returns the installation path of the libraries In addition, you can find out where the packages are going to be installed calling the. You will also find useful examples to understand how the package works. Once loaded, you can use ? or the help function with the package name or the name of any function to see the documentation. For that purpose, you can load it with the library function, specifying the package name with or without quotation marks. install.packages("calendR")Īfter installation, you need to load the package if you want to access its functions. As an example, we are going to install the calendR package, that allows creating monthly and yearly calendars, but you can install the package you prefer. Once you decided what package to install, just call the install.packages function with the name of the package inside the parenthesis with quotation marks. There are all type of packages, from graphics packages as the well-known ggplot2 to very specific topics like the DTDA.cif package, that implements estimators for cumulative incidences of competing risks under double-truncation.

Most of them have been developed by Data Scientists, Statisticians, Professors and researchers.
#Rstudio install library archive#
The Comprehensive R Archive Network ( CRAN) is the official R packages repository, with thousands of free R packages available. 13 Are you unable to install packages in R?.12 Error: Cannot remove prior installation of package.10 View the source code of R package functions.7 Install R package in Jupyter Notebook.4 Install R packages from GitHub or GitLab.2 Installing packages in R from zip source.1.2 Installing the CRAN packages with the menu.
