Re: [Rpy] Fixed the Win XP problem

2007-09-06 Thread Manuzhai
On 9/6/07, Javier Alfaro <[EMAIL PROTECTED]> wrote: > Was this the silent crash problem on XP for laptops? It was some sort of crash on XP, pretty silent, not sure if it occurred just on laptops. Cheers, Manuzhai - This SF.

[Rpy] Printing in R format

2007-09-06 Thread David Marks
Hi, I'm just getting used to the rpy module and so far I think it's pretty great. One thing I haven't figured out though is how to print R formatting. Here's my exact problem. I want to print the "summary" of an lm object in the same format that it prints in R. Here's the R version: > y =

Re: [Rpy] Fixed the Win XP problem

2007-09-06 Thread Javier Alfaro
Was this the silent crash problem on XP for laptops? On 9/6/07, Manuzhai <[EMAIL PROTECTED]> wrote: > > I think I fixed the problem, at least it works on my box. You can > download a source tarball from my Mercurial repository at [1] (the fix > can also be seen here), this includes the other patch

[Rpy] Q: how to allude to R variables?

2007-09-06 Thread D. R. Evans
I have the following piece of R code: # next line loads a variable called "dat" load('/tmp/dat.R') # make a copy d <- dat # extract the dat$web fields for the future d <- subset(d, web == 'future') In rpy, I figured out that the equivalent starts out with: r.load('/tmp/dat.r')

[Rpy] Fixed the Win XP problem

2007-09-06 Thread Manuzhai
I think I fixed the problem, at least it works on my box. You can download a source tarball from my Mercurial repository at [1] (the fix can also be seen here), this includes the other patches I proposed earlier. I even prepared a binary [2], but I don't with which versions it'll work. It seems to

[Rpy] Another small patch

2007-09-06 Thread Manuzhai
I made another one-liner to fix what I think is a problem with the conversion from Numeric to NumPy (setup.py doesn't actually try importing Numeric anymore, so it will try to compile with Numeric even if Numeric is not present on the system). Patch is at http://manuzhai.nl/files/check-numeric.dif