Re: [Rpy] unicode woes, or joys...

2008-01-07 Thread Laurent Gautier
Crashes with unicode labels in plots was reported as a problem with R-2.3 to R-2.5. It appears fixed with the R-2.6.1 I have here. As I agree that it would make sense to have this written somewhere (like in a section about known problems), but the easiest fix seems to update R. Hoping this helps

Re: [Rpy] how to read a file in rpy environment?

2008-01-07 Thread jul
> I use : > from rpy import r > rt = r.read.table("test.txt", head = TRUE) > but I can't read this file. Hi, You should try "r.read_table" instead. As "." has a specific meaning in Python, you have to replace R dots by underscores. Jul.

[Rpy] how to read a file in rpy environment?

2008-01-07 Thread zhang chi
I have a file. The filename is test.txt Its contents is: Name Sex Age Height Weight Alice F 13 56.5 84.0 Becka F 13 65.3 98.0 Gail F 14 64.3 90.0 Karen F 12 56.3 77.0 Kathy F 12 59.8 84.5 Mary F 15 66.5 112.0 Sandy F 11 51.3 50.5 Sharon F 15 62.5 112.5 Tammy F 14 62.8 102.5 Alfred M 14 69.0 112.5

Re: [Rpy] still cannot import rpy on XP

2008-01-07 Thread Gregory Warnes
Oh, thank goodness. I'm glad it was an easy fix. :-D -G On Jan 7, 2008, at 3:01PM , Mario Beauchamp wrote: > Hi Gregory, > > On Jan 7, 2008 10:16 AM, Gregory Warnes <[EMAIL PROTECTED]> > wrote: >> >> Hi Mario, >> >>> I had stepped through rpy.py in pythonwin and everything was normal. >>> It

Re: [Rpy] still cannot import rpy on XP

2008-01-07 Thread Mario Beauchamp
Hi Gregory, On Jan 7, 2008 10:16 AM, Gregory Warnes <[EMAIL PROTECTED]> wrote: > > Hi Mario, > > > I had stepped through rpy.py in pythonwin and everything was normal. > > It crashes pythonwin in the exec("import _rpy%s as _rpy" % RVER) > > statement, and RVER is the right one. > > > > Oh dear. H

[Rpy] unicode woes, or joys...

2008-01-07 Thread Ross
Aha. I think I've just learned something interesting. It took me a while to figure out although everyone else may already know - pysqlite returns unicode strings from queries, which is not generally a problem - however, passing these directly as strings for titles and axes for plots in rpy is very

Re: [Rpy] error reading Rconsole

2008-01-07 Thread Gregory Warnes
On Jan 7, 2008, at 11:32AM , Barry Rowlingson wrote: > Gregory Warnes wrote: >>> Thanks for the help, not sure where to go now except maybe if >>> rpy had an option to pass --no-Rconsole to R on startup... >> Rpy can pass anything we want to R, but as far as I can tell R >> itself doesn't ha

[Rpy] SF.net SVN: rpy: [397] trunk/rpy/src/rpymodule.c

2008-01-07 Thread warnes
Revision: 397 http://rpy.svn.sourceforge.net/rpy/?rev=397&view=rev Author: warnes Date: 2008-01-07 09:16:11 -0800 (Mon, 07 Jan 2008) Log Message: --- Correct mismatch between declaration and definition of init_embedded_win32 Modified Paths: -- trunk/rpy/src

[Rpy] SF.net SVN: rpy: [396] trunk/rpy/src/rpymodule.c

2008-01-07 Thread warnes
Revision: 396 http://rpy.svn.sourceforge.net/rpy/?rev=396&view=rev Author: warnes Date: 2008-01-07 08:03:16 -0800 (Mon, 07 Jan 2008) Log Message: --- Add ability to pass command-line argumnents to init_embedded_win32 Modified Paths: -- trunk/rpy/src/rpymodu

[Rpy] SF.net SVN: rpy: [395] trunk/rpy/tests/test_sigint.py

2008-01-07 Thread warnes
Revision: 395 http://rpy.svn.sourceforge.net/rpy/?rev=395&view=rev Author: warnes Date: 2008-01-07 08:01:22 -0800 (Mon, 07 Jan 2008) Log Message: --- Add 1 second sleep to interrupt test to allow time for interrupt delivery Modified Paths: -- trunk/rpy/test

Re: [Rpy] still cannot import rpy on XP

2008-01-07 Thread Gregory Warnes
Hi Mario, > I had stepped through rpy.py in pythonwin and everything was normal. > It crashes pythonwin in the exec("import _rpy%s as _rpy" % RVER) > statement, and RVER > is the right one. > Oh dear. > I will investigate further tomorrow, when I'm on my XP box. > Ok, thanks. -G > cheers >

Re: [Rpy] back-compatibility for python

2008-01-07 Thread The Parseltongue Project
I am the developer who wrote that code. It was a complete rewrite using a different paradigm. I published the most recent version at http://serpent.speak.googlepages.com/. On Jan 4, 2008 1:37 PM, Gregory Warnes <[EMAIL PROTECTED]> wrote: > > The stuff in sandbox was a donated code to implement t