SOAR (version 0.99-11)

Search: Slightly enhanced display of the search path

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

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.

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.

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.

References

None

See Also

search.

Examples

Run this code
Search()

Run the code above in your browser using DataCamp Workspace