By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData Collective
  • Analytics
    AnalyticsShow More
    data analytics in sports industry
    Here’s How Data Analytics In Sports Is Changing The Game
    6 Min Read
    data analytics on nursing career
    Advances in Data Analytics Are Rapidly Transforming Nursing
    8 Min Read
    data analytics reveals the benefits of MBA
    Data Analytics Technology Proves Benefits of an MBA
    9 Min Read
    data-driven image seo
    Data Analytics Helps Marketers Substantially Boost Image SEO
    8 Min Read
    construction analytics
    5 Benefits of Analytics to Manage Commercial Construction
    5 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-23 SmartData Collective. All Rights Reserved.
Reading: Animate R graphics with Flash
Share
Notification Show More
Latest News
data analytics in sports industry
Here’s How Data Analytics In Sports Is Changing The Game
Big Data
data analytics on nursing career
Advances in Data Analytics Are Rapidly Transforming Nursing
Analytics
data analytics reveals the benefits of MBA
Data Analytics Technology Proves Benefits of an MBA
Analytics
anti-spoofing tips
Anti-Spoofing is Crucial for Data-Driven Businesses
Security
ai in software development
3 AI-Based Strategies to Develop Software in Uncertain Times
Software
Aa
SmartData Collective
Aa
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
Last updated: 2009/06/12 at 5:23 PM
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

Image

Big Data Sets You Can Use with R

Visualizing Katrina’s Strongest Winds with R
Demand for R Jobs on the Rise, While SAS Jobs Decline
What is R? A New Video on the History, Community and Applications of R [VIDEO]
Forex Trading with R : Part 2

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
DavidMSmith June 12, 2009
Share this Article
Facebook Twitter Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

data analytics in sports industry
Here’s How Data Analytics In Sports Is Changing The Game
Big Data
data analytics on nursing career
Advances in Data Analytics Are Rapidly Transforming Nursing
Analytics
data analytics reveals the benefits of MBA
Data Analytics Technology Proves Benefits of an MBA
Analytics
anti-spoofing tips
Anti-Spoofing is Crucial for Data-Driven Businesses
Security

Stay Connected

1.2k Followers Like
33.7k Followers Follow
222 Followers Pin

You Might also Like

Image
Big DataSoftware

Big Data Sets You Can Use with R

9 Min Read

Visualizing Katrina’s Strongest Winds with R

1 Min Read

Demand for R Jobs on the Rise, While SAS Jobs Decline

1 Min Read

What is R? A New Video on the History, Community and Applications of R [VIDEO]

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 is improving the safety of cars
From Bolts to Bots: How AI Is Fortifying the Automotive Industry
Artificial Intelligence
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-23 SmartData Collective. All Rights Reserved.

Removed from reading list

Undo
Go to mobile version
Welcome Back!

Sign in to your account

Lost your password?