(The structure of this class mayĬhange in future versions.) Use. If library is called with no package or helpĪrgument, it lists all available packages in the libraries specifiedīy lib.loc, and returns the corresponding information in an Messages from R itself but not necessarily all those from package SuppressPackageStartupMessages: this will suppress all To suppress messages during the loading of packages use Package without attaching it on the search list, see TRUE) or unloadNamespace first.) If you want to load a You want to reload such a package, call detach(unload = Packages and do not reload a namespace which is already loaded.
Both functions check and update the list of currently attached require is designed for use inside otherįunctions it returns FALSE and gives a warning (rather than anĮrror as library() does by default) if the package does notĮxist. Namespace of the package with name package and attach it on the Library(package) and require(package) both load the Listed in the Depends clause of the DESCRIPTION file Logical specifying whether required packages May be used in a call to library or require. Objects on the search path without signaling an error when strictĮxclude or include in the attached frame. Package attaching is printed, and most often, no errors/warnings areĬharacter vector of names of objects that can mask If TRUE, additional diagnostics areĪ logical. Unless specified as FALSE in the conflicts.policy option.Ī logical. Or a non-function masking a non-function. A conflict is a function masking a function, Printed about conflicts from attaching the new Help can be assumed to be character strings. Non-existent library trees are silently ignored.
Of NULL corresponds to all libraries currently known to Library trees to search through, or NULL. Can also be the name of a position on the currentĪ character vector describing the location of R The position on the search list at which to attach the Whether character.only is FALSE (default) or Literal character string, or a character string, depending on The name of a package, given as a name or Library ( package, help, pos = 2, lib.loc = NULL, character.only = FALSE, logical.return = FALSE, nflicts, quietly = FALSE, verbose = getOption ( "verbose" ), mask.ok, exclude, include.only, attach.required = missing ( include.only )) require ( package, lib.loc = NULL, quietly = FALSE, nflicts, character.only = FALSE, mask.ok, exclude, include.only, attach.required = missing ( include.only )) conflictRules ( pkg, mask.ok = NULL, exclude = NULL )