3
$\begingroup$

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.

$\endgroup$
3
  • $\begingroup$ Weird- It is there with the Ctrl+Equal input form: !Mathematica graphics but I get the same error. $\endgroup$
    – flip
    Commented May 8, 2015 at 14:20
  • $\begingroup$ @flip I can get from "1 event" to Quantity[1, "Events"] that way, but then sending the result to the kernel gets me the same error message. $\endgroup$
    – Pillsy
    Commented May 8, 2015 at 15:21
  • 3
    $\begingroup$ It's most likely an issue connecting to Wolfram servers, which interpret many quantities. Adding 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$
    – Stefan R
    Commented May 8, 2015 at 15:38

1 Answer 1

2
$\begingroup$

It's most likely an issue connecting to Wolfram servers, which interpret many quantities. Adding 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. - Stefan R May 8 at 15:38

And it seems it was fixed. In 10.3 correct results are returned without calling Wolfram servers.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.