An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20090317/df6a69d7/attachment.pl>
Embedding R Engine in Cocoa
2 messages · David Zwerdling, Simon Urbanek
On Mar 17, 2009, at 15:51 , David Zwerdling wrote:
Hello Everyone, I'm attempting to use the R-Engine from the Mac R.app GUI project to embed R in an Objective-C application I'm writing. However, after a few days of trying, dependencies to the GUI keep tying me down. I don't need anything fancy, I'm just feeding in vectors and running regressions on them, but even that seems to escape me. I've seen on the outdated R/Cocoa page that there's a standalone engine * somewhere.* But I don't know if that's outdated information too.
There is a stand-alone version, indeed, at https://svn.r-project.org/R-packages/branches/stand-alone-REngine It needed a few small adjustments to match current R version, but it should be ok now. Don't forget to use R CMD when running your program, though, so the demo in the above should work with make R CMD ./test The default setup is now OS X but there are instructions in the Makefile on how to use it on other unices and I have tested it successfully with Linux and libFoundation. Cheers, Simon
So, is there a simple project or tutorial out there that will allow me to interact with R programmatically? Thanks, David Zwerdling [[alternative HTML version deleted]]
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel