Simon, I wonder if you can clarify/expand on the following statement you
made: "Probably the easiest way would be to simply let Cocoa Quartz create
the view and grab it for yourself."

I have a simple test program that uses REngine and that calls R with a
sequence of statements like
s1 = [re executeString:@"setwd(\"~/Desktop/Test/\")"];

I'm having a problem with a 'plot' command:

s1 = [re executeString:@"plot(diff(log(ABCD)))"];


The plot output appears in a new window, and I want it to appear in a view
within the main program window.


So, I need to tell R where I want the output to go.


Can I establish in Interface Builder a connection to my NSView to
accomplish this?


Or perhaps I need to make some sort of call to R after activating it in
the awakeFromNib method (to establish the output 're-routing')?

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to