About
All original content is licensed cc-by
Oh before I forget: I shit on all the revolutionary vanguards of this planet!
Oh before I forget: I shit on all the revolutionary vanguards of this planet!
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
Click here to check if anything new just came in.
March 22 2010
mihi$ pythonhmmmm....
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.log(1000000)/numpy.log(10)
5.9999999999999991
>>>
Update: Even more WTF:
janus:Microarray mihi$ python
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from rpy2 import robjects
>>> r=robjects.r
>>> r("log(1000000)/log(10)")[0]
5.9999999999999991
>>> print(r("log(1000000)/log(10)"))
[1] 6
>>>
Reposted by
ralree
