On Sun, Feb 22, 2009 at 5:19 AM, Carson J.Q. Farmer <carson.far...@nuim.ie> wrote: > Now using Rpy2, I am having trouble reproducing this functionality. I > have used rinterface.setWriteConsole() to catch the console output, but > this does not appear to be all console output, as I get (for example) > messages from package loading, but not results from 'summary' commands.
I suspect your problem there is that summary() does not produce any output! The normal R console does: 1) read a line 2) evaluate that line 3) print the result of evaluating that line Most of the time, all the output you see is generated in step (3), not step (2). summary(), for instance, merely returns a "summary object". This object has all of the setup so that it will print out very nicely, but that doesn't happen until someone calls print(). Try calling print() (or show(), I'm not really sure what the difference is) on the result of your console evaluations. -- Nathaniel ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list