library.pos {genetics}R Documentation

Loading and Listing of Packages (backported from 1.8.0)

Description

library.pos loads add-on packages, allowing specification of position in the search path.

Usage

library.pos(package, help, pos = 2, lib.loc = NULL, character.only = FALSE,
            logical.return = FALSE, warn.conflicts = TRUE,
            keep.source = getOption("keep.source.pkgs"),
            verbose = getOption("verbose"), version)

Arguments

package, help name or character string giving the name of a package.
pos the position on the search list at which to attach the loaded package. Note that .First.lib may attach other packages, and pos is computed after .First.lib has been run.
lib.loc a character vector describing the location of R library trees to search through, or NULL. The default value of NULL corresponds to all libraries currently known.
character.only a logical indicating whether package or help can be assumed to be character strings.
version A character string denoting a version number of the package to be loaded. If no version is given, a suitable default is chosen.
logical.return logical. If it is TRUE, FALSE or TRUE is returned to indicate success.
warn.conflicts logical. If TRUE, warnings are printed about conflicts from attaching the new package, unless that package contains an object .conflicts.OK.
keep.source logical. If TRUE, functions ``keep their source'' including comments, see argument keep.source to options.
verbose a logical. If TRUE, additional diagnostics are printed.

Details

This function is backported from the R 1.8.0 development tree and is only defined by gregmisc if this package is loaded in an earlier version of R. In 1.8.0, this function is merely an alias for the standard library function. The only important difference is the addition of the "pos" argument which allows an imported package to be loaded further down the search path than the top entry.

See the documentation for library for more details.

See Also

library


[Package genetics version 1.1.3 Index]