I'm a new user and I'm trying to load a package in Mathematica 11.0.
I've copied the DisturbingFunction.m package to %appdata%\Mathematica\Applications but after this I can't load it. I've tried with
<< DisturbingFunction`
Get[DisturbingFunction`]
Needs[DisturbingFunction`]
but none of this results. In the first two I don't get any message, but in the last I get
Needs::nocont: Context DisturbingFunction` was not created when Needs was evaluated.
Can you figure any reason why is this happening? Thank you!
Edit 1
Following Kuba's suggestion, the first time I run $Packages
I get
{"GetFEKernelInit`", "StreamingLoader`", \
"SymbolicMachineLearningLoader`", "IconizeLoader`", \
"HTTPHandlingLoader`", "CloudObjectLoader`", "ResourceLocator`", \
"PacletManager`", "System`", "Global`"}
After running Get
{"CURLInfo`", "CURLLink`Cookies`", "OAuthSigning`", "CURLLink`HTTP`", \
"CURLLink`", "QuantityUnits`", "GetFEKernelInit`", \
"StreamingLoader`", "SymbolicMachineLearningLoader`", \
"IconizeLoader`", "HTTPHandlingLoader`", "CloudObjectLoader`", \
"ResourceLocator`", "PacletManager`", "System`", "Global`"}
Get
failing to find the file. So probably the package has a non standard structure. Clear the kernel, run$Packages
thenGet @ "DisturbingFunction`"
and$Packages
again, what was added? $\endgroup$