Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to integrate R and Flash/Flex

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?

like image 859
Mark Avatar asked Sep 21 '09 08:09

Mark


2 Answers

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.
like image 93
Dirk Eddelbuettel Avatar answered Oct 24 '22 09:10

Dirk Eddelbuettel


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.

like image 26
Shane Avatar answered Oct 24 '22 09:10

Shane