install_sys

Install system packages via apt

Description

Installs R packages using apt install r-cran-*. Communicates with the raptd daemon if available, otherwise falls back to sudo.

Usage

1install_sys(pkgs)

Arguments

  • pkgs: Character vector of R package names to install (e.g., “dplyr”).

Value

Invisible TRUE on success, FALSE on failure.

See Also

remove_sys, available_sys

Examples

1install_sys("dplyr")
2install_sys(c("ggplot2", "data.table"))