Sunday 27 September 2009

Lamenting the Deprecation of a Brilliantly, Simple Feature: String Exceptions in Python

Python used to allow string exceptions (raise "Exception thrown!") but now these are deprecated. You have to raise real exceptions. BaseException is used as base for built-in exceptions.

Friday 4 September 2009

Solved by Bell Labs

What is R and why do I need it

R is a statistical computing language developed at Bell Laboratories. It can do classical hypothesis testing, time-series analysis and regression analysis.

It is based on the S language developed by ACM-award-winning-genius John Chambers (his initials are aptly JMC) and team, for which he received an honorary PhD in mathematics from University of Waterloo in Ontario. John Chambers has also been President of the International Association for Statistical Computing (IASC).

A very good elementary tutorial on R can be found on r-tutor.com. Also good is R by example. Also see the blog by Tim Moertel on R.

R can also do boxplots and other nice graphs.

Python and R Integration

Since R has its intellectual history rooted in Bell Labs, it seems most apt that solutions for Python integration should also emanate from Bell Labs. In this spirit, take a look at Duncan Temple Lang's website. There is also the rpy project on sourceforge.