tags:

views:

145

answers:

2

I want to make a Flash or Flex front end for my R code, I want to call an R function from a website (using Flash) what is the best way to go about connecting Flash and R?

+5  A: 

Duncan Temple Lang has a package FlashMXML that it provides (and I quote):

  • various graphics devices for R that generate the plot as ActionScript code that can be displayed within a Flash application, and
  • tools to generate MXML content from R data
  • an R function for compiling MXML files to SWF binaries to be run by a Flash Player in a Web browser or stand-alone.
Dirk Eddelbuettel
+2  A: 

This doesn't directly address your need, but the animation package also allows you to create flash output, but just of static animations. Here are the slides from UseR! last year.

Edit: You should also check out this blog post from David Smith.

Shane