Re: [Rpy] rpy2 & hexbin graphs

2009-07-23 Thread Laurent Gautier
Wells Oliver wrote: > I cannot for the life of me get the following code to work... > > r = robjects.r > r.library('hexbin') > hits = {'y': [-99.406, -66.266], 'x': > [121.48, 34.141]} > bin = r.hexbin(hits['x'], hits['y'], xlab='', ylab='') > r.plo

[Rpy] rpy2 & hexbin graphs

2009-07-23 Thread Wells Oliver
I cannot for the life of me get the following code to work... r = robjects.r r.library('hexbin') hits = {'y': [-99.406, -66.266], 'x': [121.48, 34.141]} bin = r.hexbin(hits['x'], hits['y'], xlab='', ylab='') r.plot(bin, main=player['name']) The error