I can't get any function defined in
$UserBaseDirectory/Kernel/init.m to work.
SinDeg[d_] := Sin[d * Degree]; (* Only line in init.m *)
SinDeg (* => SinDeg *)
However when copying the code and executing it inside a Mathematica notebook, it works fine:
SinDeg[d_] := Sin[d * Degree]; SinDeg (* => 1 *)
The Mathematica front-end can definitely see the function definitions as it displays
SinDeg as an autocompletion suggestion, when typing
I'm using Mathematica 9 Home Edition on OS X.
?SinDegdirectly after Mathematica starts up? $\endgroup$
Information::notfound: Symbol SinDeg not found. >>$\endgroup$