This sheds a little more light on the situation with this compounded on top of the depression he'd been fighting for a while:
Robin Williams had early stages of Parkinson's disease - CNN.com
RIP Mr. Williams, thank you for all the great performances you gave us, hopefully you're at peace now.