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:
sum-region => 112 shown in minibufferaverage-region => 22.4 shown in minibufferor a combined command to do different calculations at once, or a modeline display.
I suppose 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?
برچسب:
نویسنده: استخدام کار