1
$\begingroup$

We can encounter that interesting package sometimes,like GUIKit`,but I don't know how to find those.I can found that package which has been default loaded

Union[Select[GeneralUtilities`SymbolNameContext /@ GeneralUtilities`ExtendedNames[All], StringCount[#, "`"] == 1 &]] 

{Algebra`,AlphaIntegration`,Assumptions`,AssumptionsDump`,Audio`,AugmentedData`,BinningUtilities`,BoxForm`,BoxFormat`,BrowserCategoryLoad`,Calendar`,CCodeGenerator`,CCompilerDriver`,Charting`,Clipboard`,CloudObject`,CloudSystem`,Compile`,Compiler`,ComplexAnalysis`,Conditional`,ConsoleWindow`,Control`,ControlSystems`,Conversion`,CUDAInformation`,Data`,Database`,DatabaseLink`,DataPaclets`,Dataset`,DateAndTime`,Debug`,Debugger`,Deconvolve`,Developer`,...}

But It's don't include GUIKit`.So how to find those package which have not been default loaded but exist in my local disk?

$\endgroup$
5
  • $\begingroup$ You can find source code of many packages if you evaluate SystemOpen@FileNameJoin[{$InstallationDirectory, "AddOns"}] . In the subfolder "Packages" there is also GUIKit package. $\endgroup$ Commented Mar 13, 2017 at 13:53
  • $\begingroup$ @Pinti Oh,I find that,so this folder contain all package we can Needs? $\endgroup$ Commented Mar 13, 2017 at 13:56
  • 1
    $\begingroup$ I think Needs looks for packages in all folders listed in $Path. $\endgroup$ Commented Mar 13, 2017 at 14:06
  • $\begingroup$ @Pinti Thanks for your explanation,I thinks if you compose it for read,I will accepted that. $\endgroup$ Commented Mar 13, 2017 at 14:07
  • $\begingroup$ at least closely related: 133242 $\endgroup$ Commented Mar 13, 2017 at 16:38

1 Answer 1

4
$\begingroup$

Needs by default searches for packages in folders listed in $Path.

One of the elements of $Path is also FileNameJoin[{$InstallationDirectory, "AddOns"}] where you can find source code of many additional packages that come with Mathematica but are not part of System context.

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.