R Basics is reader-supported. When you make a purchase after clicking links on our site, we may earn a commission. Thank you for your support!
Please enter a package name and click "Generate Code" above.
# Install the {Package} package if not already installed. if (!require("{Package}")) { install.packages("{Package}") } # Load the {Package} package. library("{Package}") ### Find basic details of the {Package} package. # Package title packageDescription("{Package}")$Title # Package description packageDescription("{Package}")$Description # Package authors packageDescription("{Package}")$Author # Package maintainers and email addresses packageDescription("{Package}")$Maintainer # License type packageDescription("{Package}")$License ### Find technical details of the {Package} package. # Version - two options packageDescription("{Package}")$Version packageVersion("{Package}") # Compilation requirements packageDescription("{Package}")$Collate # Required dependencies packageDescription("{Package}")$Depends # Suggested dependencies packageDescription("{Package}")$Suggests # Imported packages packageDescription("{Package}")$Imports # Enhancements packageDescription("{Package}")$Enhances # Package website and repository packageDescription("{Package}")$URL ### Find capabilities of the {Package} package # List of functions ls("package:{Package}") # List of datasets data(package = "{Package}") # List of vignettes vignette(package = "{Package}") # Citation information citation("{Package}") ### Getting help with the {Package} package help(package = "{Package}")
Explore our comprehensive resource guides related to various types of R documentation. These guides are valuable resources for accessing a wide range of information, making it easier to navigate R documentation in one place.