Learn R Programming

miniCRAN (version 0.3.0)

.listFiles: List pre-built packages in a directory based on file extension

Description

List pre-built packages in a directory based on file extension

Usage

.listFiles(pkgs, path, type)

Value

Installs the packages and returns the new package index.

Arguments

pkgs

Character vector of package names

path

Character string specifying the directory containing packages to be added.

type

Character indicating the package type (e.g., "source", "win.binary", etc.).

Examples

Run this code
if (FALSE) {
 .listFiles('path/to/my/packages', type = "source")
}

Run the code above in your browser using DataLab