Learn R Programming

checked (version 0.5.0)

lib: Get Library Location

Description

Get Library Location

Usage

lib(x, ...)

# S3 method for `NULL` lib(x, ...)

# S3 method for character lib(x, ...)

# S3 method for lib_path_isolated lib( x, ..., lib.root = tempdir(), dir_hash = hash(Sys.time(), n = 8), name = "" )

# S3 method for lib_path_default lib(x, ..., lib.loc = .libPaths())

# S3 method for task lib(x, ...)

# S3 method for install_task lib(x, ...)

# S3 method for check_task lib(x, ...)

Arguments

x

An object describing a library location

...

additional parameters passed to methods

lib.root

A root directory for the isolated library.

dir_hash

unique identifier of the isolated library

name

human-readable subname of the isolated library

lib.loc

Library paths, defaulting to .libPaths().