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
    sales and data analytics
    How Data Analytics Improves Lead Management and Sales Results
    9 Min Read
    data analytics and truck accident claims
    How Data Analytics Reduces Truck Accidents and Speeds Up Claims
    7 Min Read
    predictive analytics for interior designers
    Interior Designers Boost Profits with Predictive Analytics
    8 Min Read
    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
  • 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

A Lesson about Optimization
Clean Your Data Like You Clean Your Undies
Food Safety Bill Ricochets Around Web
Location Matters
Enhance Your WordPress Blog with 23 Plugins

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

sales and data analytics
How Data Analytics Improves Lead Management and Sales Results
Analytics Big Data Exclusive
ai in marketing
How AI and Smart Platforms Improve Email Marketing
Artificial Intelligence Exclusive Marketing
AI Document Verification for Legal Firms: Importance & Top Tools
AI Document Verification for Legal Firms: Importance & Top Tools
Artificial Intelligence Exclusive
AI supply chain
AI Tools Are Strengthening Global Supply Chains
Artificial Intelligence Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

REvolution Computing training series announced

3 Min Read

R Examples for Actuaries

3 Min Read

Intelligent Enterprise: You Can Predict that R Will Succeed

4 Min Read

Converting time zones in R: tips, tricks and pitfalls

9 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 chatbots
AI Chatbots Can Help Retailers Convert Live Broadcast Viewers into Sales!
Chatbots
ai chatbot
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots

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?