Learn R Programming

batata (version 0.2.1)

rm_latest_packages: Remove the n latest installed R packages

Description

Remove the n latest installed R packages

Usage

rm_latest_packages(n = 1, lib = .libPaths())

Arguments

n

the last number of installed packages to remove. Default to 1 for the last installed package

lib

a character vector giving the library directories. Defaults to the first element in .libPaths()

Value

called for the side effect of removing the n latest installed packages

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# Removing the last 10 installed packages

rm_latest_packages(n = 10)

# }

Run the code above in your browser using DataLab