Search: Slightly enhanced display of the search path

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Produces an object which, when printed, shows each entry on the search path, together with the enclosing directory, or lib.loc, where the entry is a package or similar.

Usage

1
Search(abbrev = FALSE)

Arguments

abbrev

If the lib.loc is long should it be truncated to avoid overwhelming the display?

  • If FALSE (the default), no truncation,

  • If TRUE truncate on the left leaving the last 50 characters,

  • If numeric, truncate on the left leaving the last max(1,abbrev) characters.

Details

Provides a way to distinguish between multiple entries on the search path with the same name, by showing their lib.loc directories, if any.

Value

A two-column character matrix with the first column showing the names of the entries on the search path and the second their lib.loc directories, where applicable. The printed matrix will have quotes suppressed with noquote.

Note

May be independently useful outside the ASOR package.

Author(s)

Bill Venables

References

None

See Also

search.

Examples

1

SOAR documentation built on May 2, 2019, 6:34 a.m.