[R-SIG-Mac] The diff as promised
stefano iacus
stefano.iacus at unimi.it
Tue Aug 3 22:15:41 CEST 2004
Byron,
thanks. I'll have a look.
I've been able to embed R inside a pure Cocoa app with Simon's
suggestions but without using threads and controlling over the R event
loop.
At this point all the widgets (workspace browser etc) will be rewritten
in Cocoa.
Sometime in august I'll release the xcode project so that other people
can contribute with their work.
I'm also thinking about entirely replace the quartz device witha pure
cocoa one, so if you have already some code ready it would be nice to
look at it as well.
stefano
On Aug 3, 2004, at 9:49 PM, Byron Ellis wrote:
> Here is my diff for the cocoa interface that lets the Cocoa bundle
> take over the graphics device. I ended up taking the "most effort"
> route with respect to the Cocoa developer and overriding
> innerQuartzDeviceDriver rather than the individual functions as I had
> originally intended. The reason for this is that I won't necessarily
> be allocating an entire view to rendering the graphics. I may be using
> an NSCell as my Device, which would share its context with its parent
> NSView. You also might want to do something amusing like composite
> onto a Quicktime movie for something.
>
> I also wired up the various little widgets (like the workspace
> browser) so that Cocoa can take control of those as well.
>
> The diff is against a subversion checkout from yesterday I believe. My
> bundle that works against this diff be posted soon. Details to follow.
>
>
> <cocoa.diff>
> ---
> Byron Ellis (bellis at hsph.harvard.edu)
> "Oook" -- The Librarian
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list