search for: r_repr

Displaying 1 result from an estimated 1 matches for "r_repr".

Did you mean: r_repl
2010 May 19
1
Why does my RPy2 program run faster on Windows?
...pend(row[2]) t4=datetime.now() t1=datetime.now() print "Calculating" d1.pop(0) d1vec = robjects.StrVector(d1) v1vec = robjects.FloatVector(v1) v2vec = robjects.FloatVector(v2) r1 = r('Return.calculate(%s)' %v1vec.r_repr()) r2 = r('Return.calculate(%s)' %v2vec.r_repr()) tl = robjects.rlc.TaggedList([r1,r2],tags=('Geo','Nifty')) df = robjects.DataFrame(tl) ts2 = r.timeSeries(df,d1vec) tsa = r.timeSeries(r1,d1vec) tsb = r.timeSeries(r2,d1vec)...