[Rpy] [ rpy-Bugs-1819169 ] Pure virtual function call error

2007-10-24 Thread SourceForge.net
Bugs item #1819169, was opened at 2007-10-24 02:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1819169&group_id=48422 Please note that this message will contain a full copy o

[Rpy] rpy and numpy arrays

2007-10-24 Thread Sean Davis
Just a quick question, I hope. I am trying to draw a heatmap of a numpy array. Here is what I have tried and the output: In [43]: x=numpy.array([1,2,3,4,5,6],dtype=numpy.float64) In [44]: x.shape=2,3 In [45]: rpy.r.heatmap(x)

Re: [Rpy] rpy and numpy arrays

2007-10-24 Thread Peter
Sean Davis wrote: > Just a quick question, I hope. I am trying to draw a heatmap of a numpy > array. Could you try using a Numeric array instead for comparison, as that works for me while numpy does not (on a rather out of date rpy 0.4.6 with R 2.2.1 under Linux Ubuntu Dapper Drake). FYI: The

Re: [Rpy] rpy and numpy arrays

2007-10-24 Thread Sean Davis
On 10/24/07, Peter <[EMAIL PROTECTED]> wrote: > > Sean Davis wrote: > > Just a quick question, I hope. I am trying to draw a heatmap of a numpy > > array. > > Could you try using a Numeric array instead for comparison, as that > works for me while numpy does not (on a rather out of date rpy 0.4.6

Re: [Rpy] rpy and numpy arrays

2007-10-24 Thread Matthew Brett
Hi, > : Error in function (x, Rowv = NULL, Colv = if > (symm) "Rowv" else NULL, : > 'x' must be a numeric matrix You haven't run into the 64 bit problem I posted a while ago have you? Matthew - This SF.net email is spons

Re: [Rpy] rpy and numpy arrays

2007-10-24 Thread Sean Davis
On 10/24/07, Matthew Brett <[EMAIL PROTECTED]> wrote: > > Hi, > > > : Error in function (x, Rowv = NULL, Colv = if > > (symm) "Rowv" else NULL, : > > 'x' must be a numeric matrix > > You haven't run into the 64 bit problem I posted a while ago have you? I can reproduce the problem, yes. [EMA

Re: [Rpy] rpy and numpy arrays

2007-10-24 Thread Matthew Brett
> I can reproduce the problem, yes. > > [EMAIL PROTECTED]:~> uname -a > Linux pressa 2.6.18.8-0.7-default #1 SMP Tue Oct 2 17:21:08 UTC 2007 x86_64 > x86_64 x86_64 GNU/Linux I posted a patch to the list a few months back - could you try that and see if it helps? Best, Matthew --

Re: [Rpy] rpy and numpy arrays

2007-10-24 Thread Gregory Warnes
Hi All, I've made a bunch of changes in the SVN source code repository, some of which are specifically related to Numeric/NumPy conversion. Can y'all give the new code a try to see if it helps? -G On Oct 24, 2007, at 6:04PM , Matthew Brett wrote: >> I can reproduce the problem, yes. >> >>