<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Statistics, R, Graphics and Fun &#187; Omegahat</title>
	<atom:link href="http://yihui.name/en/tag/omegahat/feed/" rel="self" type="application/rss+xml" />
	<link>http://yihui.name/en</link>
	<description>Yihui XIE</description>
	<lastBuildDate>Fri, 23 Jul 2010 16:33:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Some Interesting Packages in R: swfDevice, RGoogleTrends, FlashMXML, SVGAnnotation</title>
		<link>http://yihui.name/en/2009/10/some-interesting-packages-in-r-swfdevice-rgoogletrends-flashmxml-svgannotation/</link>
		<comments>http://yihui.name/en/2009/10/some-interesting-packages-in-r-swfdevice-rgoogletrends-flashmxml-svgannotation/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 02:25:57 +0000</pubDate>
		<dc:creator>Yihui Xie</dc:creator>
				<category><![CDATA[R Language]]></category>
		<category><![CDATA[Cameron Bracken]]></category>
		<category><![CDATA[Duncan Temple Lang]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[FlashMXML]]></category>
		<category><![CDATA[Google Trends]]></category>
		<category><![CDATA[Omegahat]]></category>
		<category><![CDATA[RGoogleTrends]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[SVGAnnotation]]></category>
		<category><![CDATA[swfDevice]]></category>

		<guid isPermaLink="false">http://yihui.name/en/?p=322</guid>
		<description><![CDATA[I love R because there are always exciting new packages which can be far beyond your imagination. Here I&#8217;d like to introduce a couple of packages that look really awesome: 1. swfDevice: R graphics device for SWF output (by Cameron Bracken) This package is still at a pre-alpha stage but you can see a sketch [...]]]></description>
			<content:encoded><![CDATA[<p>I love R because there are always exciting new packages which can be far beyond your imagination. Here I&#8217;d like to introduce a couple of packages that look really awesome:</p>
<h1>1. <code>swfDevice</code>: R graphics device for SWF output (by Cameron Bracken)</h1>
<p>This package is still at a pre-alpha stage but you can see a sketch now in R-Forge:<a href="https://r-forge.r-project.org/projects/swfdevice/" target="_blank"> https://r-forge.r-project.org/projects/swfdevice/</a></p>
<p>Its author, Cameron, certainly knows well that I will be excited to see it, because I&#8217;ve been waiting for a long long time for the REAL Flash animation output in R. What I&#8217;ve done in my <code>animation</code> package is simply using SWF Tools to combine several &#8220;static&#8221; pictures (PNG or PDF, &#8230;) into a naive Flash animation &#8212; by &#8220;naive&#8221; I mean there is no interaction or real dynamic stuff in the Flash animation. Hopefully Cameron will provide a useful tool to create genuine Flash animations directly from R (with the help of the library <code>libming</code>).</p>
<p>By the way, I have to mention that the <code>tikzDevice</code> package by Cameron and another author is also fantastic for generating high-quality graphics LaTeX.<span id="more-322"></span></p>
<h1>2. <code>RGoogleTrends</code>: Query and download Google Trends data in R</h1>
<p>Ever heard of <a href="http://www.google.com/trends">Google Trends</a>? Duncan Temple Lang released an R package named &#8220;<a href="http://www.omegahat.org/RGoogleTrends">RGoogleTrends</a>&#8221; that allows you to download Google Trends data directly from R. Basically this package uses <code>RCurl</code> to log in your Google account and send queries to get Google Trends data. Well, you may ask &#8220;why bother using a package since I can manually download the data by myself?&#8221;; just imagine R can automatically and dynamically do it for you, so you don&#8217;t have to open the web page every day.</p>
<h1>3. <code>FlashMXML</code> and <code>SVGAnnotation</code>: New graphics devices for R</h1>
<p>They are also written by Duncan Temple Lang. <code>FlashMXML</code> can record R graphics in MXML (a kind of XML language) and we can compile the XML file to Flash output. <code>SVGAnnotation</code> enables us to save R graphics in SVG format, which also supports animation. The function <code>animate()</code> will be of great help to my <code>animation</code> package, I think.</p>
<p>You may check the Omegahat website for more interesting packages: <a href="http://www.omegahat.org">http://www.omegahat.org</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://yihui.name/en/2009/12/happy-new-year-with-r/" title="Happy New Year with R">Happy New Year with R</a></li><li><a href="http://yihui.name/en/2009/12/merry-christmas-using-r/" title="Merry Christmas Using R">Merry Christmas Using R</a></li><li><a href="http://yihui.name/en/2009/06/simulation-of-burning-fire-in-r/" title="Simulation of Burning Fire in R">Simulation of Burning Fire in R</a></li><li><a href="http://yihui.name/en/2009/06/creating-tag-cloud-using-r-and-flash-javascript-swfobject/" title="Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)">Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)</a></li><li><a href="http://yihui.name/en/2008/06/set-framerate-in-pdf2swf/" title="Set framerate in pdf2swf">Set framerate in pdf2swf</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://yihui.name/en/2009/10/some-interesting-packages-in-r-swfdevice-rgoogletrends-flashmxml-svgannotation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
