Cookies help us display personalized product recommendations and ensure you have great shopping experience.

By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    image fx (67)
    Improving LinkedIn Ad Strategies with Data Analytics
    9 Min Read
    big data and remote work
    Data Helps Speech-Language Pathologists Deliver Better Results
    6 Min Read
    data driven insights
    How Data-Driven Insights Are Addressing Gaps in Patient Communication and Equity
    8 Min Read
    pexels pavel danilyuk 8112119
    Data Analytics Is Revolutionizing Medical Credentialing
    8 Min Read
    data and seo
    Maximize SEO Success with Powerful Data Analytics Insights
    8 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Animate R graphics with Flash
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Uncategorized > Animate R graphics with Flash
Uncategorized

Animate R graphics with Flash

DavidMSmith
DavidMSmith
3 Min Read
SHARE

Adobe Flash is a technology for embedding animations (and even applications) into Web pages. On the Keep on Fighting! blog, Yihui Xie has a couple of neat examples of integrating R with Flash.

The first example is creating a tag cloud: a visualization of the frequency of words in a body of text. You can create a static tag cloud in R with the pointLabel function in the maptools package, but you can make it, er, flashier with Flash. Yihui shows how to use the JavaScript interface in R to pass tag data to a “tagcloud” Flash object, which displays the tags in animated glory. Unfortunately, I can’t embed it here, so be sure to check out the page to see it in action.

Another cool (or rather, hot) example is simulating fire in R and then visualizing it as a Flash animation. The frames of the simulated fire were generated using the image function in R, and then converted into Flash with the saveSWF function from the animation package…



More Read

Don’t Cry, Shopgirl
Don’t Rely on Luck: Why Small Businesses Need Disaster Recovery Plans
A Museum of Mathematics
Health care, scandal, and leading change
Early Indications September 2009: Universities and an Information Economy

Adobe Flash is a technology for embedding animations (and even applications) into Web pages. On the Keep on Fighting! blog, Yihui Xie has a couple of neat examples of integrating R with Flash.

The first example is creating a tag cloud: a visualization of the frequency of words in a body of text. You can create a static tag cloud in R with the pointLabel function in the maptools package, but you can make it, er, flashier with Flash. Yihui shows how to use the JavaScript interface in R to pass tag data to a “tagcloud” Flash object, which displays the tags in animated glory. Unfortunately, I can’t embed it here, so be sure to check out the page to see it in action.

Another cool (or rather, hot) example is simulating fire in R and then visualizing it as a Flash animation. The frames of the simulated fire were generated using the image function in R, and then converted into Flash with the saveSWF function from the animation package.

This is a great way of visualizing all sorts of analyses, and distributing the results via a Web page. All the code you need for both these examples is provided in the linked pages.

Keep on Fighting: Simulation of Burning Fire in R

Link to original post

TAGGED:r
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

image fx (2)
Monitoring Data Without Turning into Big Brother
Big Data Exclusive
image fx (71)
The Power of AI for Personalization in Email
Artificial Intelligence Exclusive Marketing
image fx (67)
Improving LinkedIn Ad Strategies with Data Analytics
Analytics Big Data Exclusive Software
big data and remote work
Data Helps Speech-Language Pathologists Deliver Better Results
Analytics Big Data Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

Side-by-side statistical analyses in R, SAS, SPSS

3 Min Read

Behind the scenes of REvolution’s 64-bit Windows port of R

9 Min Read

A free book on Geostatistical Mapping with R

5 Min Read

CRAN R 2.9.0 now available

2 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

ai chatbot
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots
AI and chatbots
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Artificial Intelligence Chatbots Exclusive

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-25 SmartData Collective. All Rights Reserved.
Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?