Re: [Rpy] R console

2009-03-02 Thread Laurent Gautier
Exposing the visibility global flag R_Visible is definitely making sense (since functions returning "invisibly" is something R-ish) However, I think that the check that R_Visible is FALSE should occur after the call to Rf_eval has been made. In R, something returned "invisibly" is only returned

Re: [Rpy] R console

2009-03-02 Thread Nathaniel Smith
On Mon, Mar 2, 2009 at 5:06 PM, Carson Farmer wrote: >> This has been annoying me too, so I had a quick look... apparently the >> (totally awesome) API for this is that you set the global variable >> R_Visible to FALSE before calling Rf_eval, and then you check it >> afterwards to see if the retur

Re: [Rpy] R console

2009-03-02 Thread Carson Farmer
To keep this thought going... >> As you noted, the GTK R console in the demos/ directory outputs a little too >> much (when doing 'x <- rnorm(100)', the content of 'x' will be returned to >> the console). >> > > This has been annoying me too, so I had a quick look... apparently the > (totally