Learn R Programming

pacman (version 0.5.1)

p_search_library: Partial Matching Package Search

Description

Search library packages using partial matching. Search for packages by partial matching letter(s) or by any letter(s) contained within the package's name. Useful for those times when you can't remember that package name but you know ``it starts with...''

Usage

p_search_library(begins.with = NULL, contains = NULL)

p_sl(begins.with = NULL, contains = NULL)

Arguments

begins.with

A character string to search for packages starting with the letter(s).

contains

A character string to search for packages containing the letter(s).

Examples

Run this code
# NOT RUN {
p_search_library(begins.with = "ma")
p_search_library(begins.with = "r", contains = "ar")
p_search_library(contains = "att")
# }

Run the code above in your browser using DataLab