Yihui Xie

Klein Bottle; R (D)COM; R2HTML

谢益辉 / 2007-06-06

“Klein Bottle” is really a strange surface; can you imagine such a “bottle”?

And this animated one?

I spent more than an hour trying to make a perspective plot using R but failed at last, because the equations for Klein Bottle is a little bit complex and I don’t know how to find a proper function to denote z by x and y.

In the next few days, I will concentrate on R (D)COM and the package “R2HTML” in order to make better use of R in other Windows applications such as Excel. On second thoughts, I believe I should avoid programming using C++ because I’m not familiar with it at all and I’d better develop easier applications instead.

An irrelevant quotation:

“Democracy means that anyone can grow up to be president, and anyone who doesn’t grow up can be vice president.”

— Johnny Carson