I know that most of you favor the trinity Python, Vim/Emacs, Gnuplot, 
but (for those on OS X at least) here I propose the alternative trinity 
Ruby, TextMate, R.

I am developing a bundle for TextMate 2, which is available at:

https://github.com/lifepillar/Ledger.tmbundle

The bundle has full support for Ledger 3 syntax, macros to quickly 
insert transactions and postings (including a front-end for ledger 
entry) and commands to print several stylish HTML5 reports (balance, 
register, expense, net worth, budgets, etc…) directly inside TextMate. 
If R is installed (and its ggplot library, too), it is possible to plot 
a series of SVG charts (for now only for balance reports, budgets and 
net worth). Ledger files can be exported to CSV, either in double-entry 
or single-entry format.

The bundle is mostly a bunch of Ruby and R scripts, which should be 
easily customizable (go to TextMate > Bundle > Edit Bundles…). The 
output style may also be easily modified via CSS.

For those who don't know, TextMate 2 is an open-source text editor for 
OS X, which can be downloaded here:

https://github.com/textmate/textmate/downloads

R (http://www.r-project.org/) is a powerful statistical software. In the 
bundle, it is currently used only to draw some graphs, but it can do 
very sophisticated stuff—see for example:

http://www.r-bloggers.com/company-valuation-using-discounted-cash-flows/
http://www.rinfinance.com/agenda/

Feedback, suggestions and contributions are welcome!

Enjoy,
Life

Reply via email to