This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
[an error occurred while processing this directive] $Packages

  • $Packages gives a list of the contexts corresponding to all packages which have been loaded in your current Mathematica session.
  • $Packages is updated when BeginPackage is executed.
  • $Packages is used by Needs to determine whether a particular package needs to be loaded explicitly.
  • See the Mathematica book: Section 2.6.9.
  • See also: Contexts, $ContextPath, DeclarePackage.