Re: [Rpy] Preventing R output to stdout

2008-06-24 Thread Laurent Gautier
You can use R's "sink()" It is used in rpy2 to map R's "print" to Python objects' "__str__()". Check lines 84 to 102 at: http://rpy.svn.sourceforge.net/viewvc/rpy/branches/rpy_nextgen/rpy/robjects/__init__.py?view=markup&pathrev=562 2008/6/24 Renato Alves <[EMAIL PROTECTED]>: > Hi, > > I'm runni

[Rpy] Preventing R output to stdout

2008-06-24 Thread Renato Alves
Hi, I'm running a script that does a lot of statistical tests on different sets of data and causes a lot of "unwanted" output like: Warning message: In cor.test.default(c(130L, 414L, 325L, 287L, 232L, 336L, 640L, : Cannot compute exact p-values with ties Warning message: In cor.test.default(c