Suppose I have highlighted a region of text in a buffer. The region contains numbers separated by whitespace. E.g.
1 19 23 28 41
Is there some package with ready-made interactive commands that parse the numbers from this region and do common calculations like sum and average, similar to what spreadsheet programs show in their status bar? Something like:
112shown in minibuffer
22.4shown in minibuffer
or a combined command to do different calculations at once, or a modeline display.
org-mode has spreadsheet functions like this, but can they be used easily if you're not already working with an org spreadsheet? Does
calc have functions that operate on region?