Skip to contents

Copy Base R Packages from the System Library to the Target Library

Usage

copyBasePackages(
  target_lib,
  set_number = 2L,
  system_lib = utils::tail(.libPaths(), 1L),
  packages = systemPackages(set_number)
)

Arguments

target_lib

path to the target library

set_number

number defining the base packages to be copied, see systemPackages

system_lib

path to the system library from which to copy packages

packages

vector of names of packages to be copied