Today's Wolfram blog post inspired me to play with the TemporalData
and MovingMap
features, and in the process of doing so, I got errors when I attempted to reproduce results from the blog post, an earlier Stack Exchange answer, or even the documentation:
MovingMap[Mean, {Subscript[x, 1], Subscript[x, 2], Subscript[x, 3],
Subscript[x, 4], Subscript[x, 5]}, Quantity[3, "Events"]]
Quantity::unkunit: Unable to interpret unit specification Events. >>
MovingMap::bdwndwspc: The window specification Quantity[3,Events] is invalid. >>
In isolation:
Quantity[1, "Events"]
Quantity::unkunit: Unable to interpret unit specification Events. >>
Quantity[1, "Events"]
FWIW, I'm running version 10.1.0 on Mac OS X (64 bit); my understanding was that the "Events"
thing was a new feature of this version.
Ctrl+Equal
input form: !Mathematica graphics but I get the same error. $\endgroup$Quantity[1, "Events"]
that way, but then sending the result to the kernel gets me the same error message. $\endgroup$Events
to the list of quantities which do not require such server interaction should have been done prior to release but was overlooked. This will be fixed in an upcoming version of Mathematica. $\endgroup$