[Rpy] Quantile object & iteritems

2011-07-29 Thread Wells Oliver
Hey folks - trying to iterate through the quantile object and use the keys as numeric values, so like: for a, b in percentiles.iteritems(): print a, b The key, a, is a string, '5%', etc, but I'd like to use the numeric representation (.5). Is there a way of cleanly doing that w/o manipulating

Re: [Rpy] Problem Calling Python functions from R

2011-07-29 Thread Laurent Gautier
Hi, The example is not self-contained, strictly speaking: one does not have the data files needed to run it locally. Otherwise, the rternalize function is currently not handling named arguments. They should be handled with in the rpy2-2.3.x series, and in the meanwhile (if this is really the

Re: [Rpy] Quantile object & iteritems

2011-07-29 Thread Laurent Gautier
On 2011-07-29 20:28, Wells Oliver wrote: Hey folks - trying to iterate through the quantile object and use the keys as numeric values, so like: for a, b in percentiles.iteritems(): print a, b The key, a, is a string, '5%', etc, but I'd like to use the numeric representation (.5). Is there