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