<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Omegahat Statistical Computing</title>
	<atom:link href="http://omegahat.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://omegahat.wordpress.com</link>
	<description>Ideas for statistical computing</description>
	<lastBuildDate>Mon, 12 Dec 2011 14:42:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='omegahat.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Omegahat Statistical Computing</title>
		<link>http://omegahat.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://omegahat.wordpress.com/osd.xml" title="Omegahat Statistical Computing" />
	<atom:link rel='hub' href='http://omegahat.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Rllvm</title>
		<link>http://omegahat.wordpress.com/2010/09/01/rllvm/</link>
		<comments>http://omegahat.wordpress.com/2010/09/01/rllvm/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 23:40:12 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[Language]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=109</guid>
		<description><![CDATA[Over the past 10 years, I have been torn between building a new stat. computing environment or trying to overhaul R. There are many issues on both sides. But the key thing is to enable doing new and better things in stat. computing rather than just making the existing things easier and more user-friendly. If [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=109&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Over the past 10 years, I have been torn between building a new stat. computing environment<br />
or trying to overhaul R.  There are many issues on both sides.  But the key thing is to<br />
enable doing new and better things in stat. computing rather than just making the existing things<br />
easier and more user-friendly.</p>
<p>If we are to continue with R for the next few years, it is essential that it get faster.<br />
There are many aspects to this. One is compiling interpreted R code into something faster.<br />
LLVM is a toolkit that facilitates the compilation of machine code.   So in the past few days<br />
I have looked into this and developed an R package that provides R-bindings to some of<br />
the LLVM functionality.</p>
<p>The package is available from <a href="http://www.omegahat.org/Rllvm">http://www.omegahat.org/Rllvm</a>, as are several examples<br />
of its use.<br />
I used the package to implement a compiled version of one of Luke Tierney&#8217;s compilation examples<br />
which uses a loop in R to add 1 to each element of a vector.  The compiled version gives a speedup<br />
of a factor of 100, i.e. 100 times faster than interpreted R code.  This is slower than x + 1<br />
in R which is implemented in C and does more. But it is a promising start.  The compiled version is also faster than bytecode interpreter approaches.  So this is reasonably promising.</p>
<p>Of course, it would be nicer to leverage an existing compiler! (Think SBCL and building on top of LISP).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=109&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/09/01/rllvm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>Rffi</title>
		<link>http://omegahat.wordpress.com/2010/09/01/rffi/</link>
		<comments>http://omegahat.wordpress.com/2010/09/01/rffi/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 23:36:18 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[Language]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=107</guid>
		<description><![CDATA[A few weeks ago, I posted the Rffi package on the Omegahat repository. It is an interface to libffi which is a portable mechanism for invoking native routines without having to write and compile any wrapper routines in the native language. In other words, we can use this in R to call C routines using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=107&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I posted the <a href="http://www.omegahat.org/Rffi">Rffi</a> package on the Omegahat repository.<br />
It is an interface to libffi which is a portable mechanism for invoking native routines<br />
without having to write and compile any wrapper routines in the native language.<br />
In other words, we can use this in R to call C routines using only R code.<br />
This enables us to call arbitrary routines and get back arbitrary values, including structures<br />
arrays, unions, etc.</p>
<p>One could use the RGCCTranslationUnit package to obtain descriptions of routines and data<br />
structures and then generate the interfaces to those routines via functions in Rffi.</p>
<p>Writing or generating C/C++ code for wrappers (see RGCCTranslationUnit) is still the way to<br />
go in many ways, but Rffi is very convenient for dynamic invocations without any write and compile<br />
setup costs.</p>
<p>As usual, you can install this from source from the Omegahat repository</p>
<p>install.packages(&#8220;Rffi&#8221;, repos = &#8220;http://www.omegahat.org/R&#8221;, type = &#8220;source&#8221;)</p>
<p>but you will need to have installed libffi.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=107&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/09/01/rffi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>RXQuery</title>
		<link>http://omegahat.wordpress.com/2010/03/24/rxquery/</link>
		<comments>http://omegahat.wordpress.com/2010/03/24/rxquery/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 16:56:18 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XQuery]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=103</guid>
		<description><![CDATA[I have put a new version of the RXQuery package which interfaces to the Zorba XQuery engine. This makes the package compatible with the 1.0.0 release of Zorba for external functions. The package allows one to use XQuery from within R and to use R functions within XQuery scripts. Tagged: XQuery<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=103&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have put a new version of the RXQuery package which interfaces to the <a href="http://www.zorba-xquery.com">Zorba XQuery </a>engine.  This makes the package compatible with the 1.0.0 release of Zorba for external functions.  </p>
<p>The package allows one to use XQuery from within R and to use R functions within XQuery scripts.</p>
<br /> Tagged: <a href='http://omegahat.wordpress.com/tag/xquery/'>XQuery</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=103&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/24/rxquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>Package Releases</title>
		<link>http://omegahat.wordpress.com/2010/03/20/package-releases/</link>
		<comments>http://omegahat.wordpress.com/2010/03/20/package-releases/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 13:51:30 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[JavaScript canvas]]></category>
		<category><![CDATA[RKML]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=101</guid>
		<description><![CDATA[I just put a new version of the XML package on the Omegahat repository. There is a new version of the RKML package which handles large datasets much more rapidly. Also, I put a new package named RJSCanvasDevice which implements and R graphics device that creates JavaScript code that can be subsequently display on a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=101&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just put a new version of the XML package on the Omegahat repository.</p>
<p>There is a new version of the RKML package which handles large datasets much more rapidly.</p>
<p>Also, I put a new package named RJSCanvasDevice which implements and R graphics device that creates JavaScript code that can be subsequently  display on a JavaScript canvas in an HTML document. </p>
<br /> Tagged: <a href='http://omegahat.wordpress.com/tag/javascript-canvas/'>JavaScript canvas</a>, <a href='http://omegahat.wordpress.com/tag/rkml/'>RKML</a>, <a href='http://omegahat.wordpress.com/tag/xml/'>XML</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=101&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/20/package-releases/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://omegahat.wordpress.com/2010/03/17/96/</link>
		<comments>http://omegahat.wordpress.com/2010/03/17/96/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 01:28:40 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[R]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=96</guid>
		<description><![CDATA[Hin-Tak Leung mailed me about a problem with certain malformed XML documents from FlowJo. There are namespace prefixes (prfx:nodeName) with no corresponding namespace declarations (xmlns:prefix=&#8221;uri&#8221;). How do we fix these? Well, the XML parser can read this but raises errors. We can do nice things to catch these errors and then post-process them. Then we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=96&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hin-Tak Leung mailed me about a problem with certain malformed XML documents from FlowJo.  There are namespace prefixes (prfx:nodeName) with no corresponding namespace declarations (xmlns:prefix=&#8221;uri&#8221;). How do we fix these?  Well, the XML parser can read this but raises errors. We can do nice things to catch these errors and then post-process them. Then we can fix up the errors, add namespace declarations to the document and then re-parse the resulting document.  Here is the code. It will make it into the XML package.</p>
<pre>
fixXMLNamespaces =
  #
  #  call as
  #    dd = fixXMLNamespaces("~/v75_step6.wsp", .namespaces = MissingNS)
  #  or
  #   dd = fixXMLNamespaces("~/v75_step6.wsp", gating = "http://www.crap.org", 'data-type' = "http://www.morecrap.org")
  #
function(doc = "~/v75_step6.wsp", ..., .namespaces = list(...))
{
    # collect the error messages
  e = xmlErrorCumulator(, FALSE)
  doc = xmlParse(doc, error = e)

  if(length(e) == 0)
     return(doc)

     # find the ones that refer to prefixes that are not defined
  ns = grep("^Namespace prefix .* not defined", unique(environment(e)$messages), val = TRUE)
  ns = unique(gsub("Namespace prefix ([^ ]+) .*", "\\1", ns))

    # now set those name spaces on the root of the document
  if(is(.namespaces, "list"))
    .namespaces = structure(as.character(unlist(.namespaces)), names = names(.namespaces))

  uris = .namespaces[ns]
  if(length(uris)) {
     mapply(function(id, uri)
              newXMLNamespace(xmlRoot(doc), uri, id),
            names(uris), uris)
     xmlParse(saveXML(doc), asText = TRUE)
  } else
     doc
}
</pre>
<p>(I&#8217;ve made some minor changes thanks to Hin-Tak&#8217;s suggestions, but haven&#8217;t tested them.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=96&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/17/96/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>Posting blog entries directly from R.</title>
		<link>http://omegahat.wordpress.com/2010/03/14/posting-blog-entries-directly-from-r/</link>
		<comments>http://omegahat.wordpress.com/2010/03/14/posting-blog-entries-directly-from-r/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 23:30:06 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=67</guid>
		<description><![CDATA[While looking more at how others were preparing blog content about R, I saw that at least one person was uploading content via a python script. I like programmatic solutions and since I am writing a book on XML and Web Technologies including Web services, I looked into this. The mechanism used is XML-RPC. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=67&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While looking more at how others were preparing blog content about R, I saw that at least one person was uploading content via a python script.  I like programmatic solutions and since I am writing a book on XML and Web Technologies including Web services,  I looked into this. The mechanism used is XML-RPC. I have an XMLRPC package for R so we can quickly deploy it to provide functionality in R that allows each of us to</p>
<ul>
<li> query information from our blog</li>
<li> post blog items, append to a post, create new pages, add categories, etc.</li>
</ul>
<p>So the <a href="http://www.omegahat.org/RWordpress">RWordpress</a> package is the result.</p>
<p>Correction: WordPress is taking the URL and capitalizing the p in RWordpress.  This seems to happen only for words containing &#8220;wordpress&#8221;.  So I have renamed the R package to RWordPress. The link on this page (even while being lower-case p in the HTML) now corresponds to the new package name. Thanks Tal.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=67&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/14/posting-blog-entries-directly-from-r/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>Blogging directly from R &#8211; example</title>
		<link>http://omegahat.wordpress.com/2010/03/14/blogging-directly-from-r-example/</link>
		<comments>http://omegahat.wordpress.com/2010/03/14/blogging-directly-from-r-example/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 05:16:03 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/2010/03/14/blogging-directly-from-r-example/</guid>
		<description><![CDATA[This post is submitted directly from R using the RWordpress package. newPost(list(description = 'This post is submitted directly from R using the RWordpress package.', title = 'Blogging directly from R - example'))<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=74&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post is submitted directly from R using the <a href='http://www.omegahat.org/RWordpress'>RWordpress</a> package.
<pre>newPost(list(description = 'This post is submitted directly from R using the <a href='http://www.omegahat.org/RWordpress'>RWordpress</a> package.', title = 'Blogging directly from R - example'))</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=74&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/14/blogging-directly-from-r-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging the cron mechanism</title>
		<link>http://omegahat.wordpress.com/2010/03/13/debugging-the-cron-mechanism/</link>
		<comments>http://omegahat.wordpress.com/2010/03/13/debugging-the-cron-mechanism/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 01:35:12 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[General Computing]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[environment variable]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=30</guid>
		<description><![CDATA[Recently, a student of mine asked me about automating the collection of data from the HTML form http://www.wrh.noaa.gov/forecast/xml/xml.php. The intent is to collect the forecasts twice a day and process the XML into a data frame. Getting the content of the URL, parsing it and extracting the data is a quite straightforward application of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=30&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, a student of mine asked me about automating the collection of data from the HTML form <a href="http://www.wrh.noaa.gov/forecast/xml/xml.php">http://www.wrh.noaa.gov/forecast/xml/xml.php</a>. The intent is to collect the forecasts twice a day and process the XML into a data frame.  Getting the content of the URL, parsing it and extracting the data is a quite straightforward application of the RCurl and XML packages along with XPath and getNodeSet().  </p>
<p>Automating the collection involves the cron facility on a Linux machine. And there she ran into some troubles which are somewhat interesting to note as a  learning experience.  Firstly, why use a Linux machine? Because we want a machine that is on the network all the time rather than using a laptop or home machine. Also, it is nice if that machine is backed up and reliable. </p>
<p>One can &#8220;google&#8221; cron and find crontab. So one needs to learn the syntax for specifying a cron job.  We have one entry per line that specifies the minute, hour,  day of month, month and day of week.<br />
We can have ranges, e.g. 2-4. An asterisk * in a field means all of them possible values, i.e. first-last. </p>
<p>The last field is a shell command. The first question is what shell?  The second question is what are the settings? In other words, is our .profile read? is the .login read?  The answers to these questions are available from the documentation. But it is interesting to consider how we can  derive the answers ourselves with a series of tests. </p>
<p>The problem the student had was that she could run R fine in an interactive shell, but in the cron job, she was getting errors.  She worked through a sequence of problems and ended up with an issue<br />
when loading the RCurl package with an error message (in the output from cron) that indicated that it couldn&#8217;t load libcurl.so.</p>
<p>So let&#8217;s get to work.</p>
<p>Probably the simplest thing to do is set a cron job that prints the environment variables. Put the following into a file, say, myCronJobs:</p>
<pre>
* * * * * env &gt; /tmp/myEnv
</pre>
<p>and then run the shell command</p>
<pre>
crontab myCronJobs
</pre>
<p>It is always a good idea to see if the job(s) were set with</p>
<pre>
crontab -l
</pre>
<p>Now, wait a minute. Literally that is until the job runs. Alternatively, quickly create the file /tmp/myEnv and run</p>
<pre>
tail -f /tmp/myEnv
</pre>
<p>and watch the output to see the lines appear. BTW, you can run tail on the file that isn&#8217;t there!</p>
<p>This shows you what environment variables are set and you can compare this to your regular shell by running the <b>env</b> command in it. Quite a difference!</p>
<p>Note  the value of the LD_LIBRARY_PATH environment variable when run in the regular  shell and in the cron job.  What directories are missing from the cron job&#8217;s version?  Now let&#8217;s try to find libcurl.so. We might use the locate command.  And indeed, on that machine it is in a directory that is not included in the  LD_LIBRARY_PATH environment variable for the cron job. So we have to explicitly set that in our cron script with a call to </p>
<pre>
export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64
</pre>
<p>or whatever the relevant settings are (using : to separate the directory names).</p>
<p>Another approach would be to update the ld.so.conf to have the system&#8217;s dynamic loader know to look in that directory. But one need&#8217;s administrator privileges to do that.</p>
<p>Note that the way to get the output is via shell redirection. And  we can and should use redirection to put  the output to standard error to standard out to appropriate files or combine them into the same output.  Note that you are using the regular shell &#8211; sh which is probably a variant of bash. So you need to use</p>
<pre>
  export LD_LIBRARY_PATH=/usr/local/lib ;  /usr/local/bin/Rscript -e 'library(RCurl); print(getURLContent)' &gt; /tmp/Routput 2&gt;&amp;1
</pre>
<br /> Tagged: <a href='http://omegahat.wordpress.com/tag/cron/'>cron</a>, <a href='http://omegahat.wordpress.com/tag/crontab/'>crontab</a>, <a href='http://omegahat.wordpress.com/tag/debugging/'>debugging</a>, <a href='http://omegahat.wordpress.com/tag/environment-variable/'>environment variable</a>, <a href='http://omegahat.wordpress.com/tag/shell/'>shell</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=30&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/13/debugging-the-cron-mechanism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>Forgetting email attachments</title>
		<link>http://omegahat.wordpress.com/2010/03/12/forgetting-to-attach/</link>
		<comments>http://omegahat.wordpress.com/2010/03/12/forgetting-to-attach/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 23:10:10 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[attachments]]></category>
		<category><![CDATA[thunderbird extension]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=27</guid>
		<description><![CDATA[When I write email and say that I am attaching a document, I frequently send the mail and forget to attach the document. We&#8217;re all working too fast and off it goes. So I thought I&#8217;d write an extension for Thunderbird to check for the string attach. Just as I was about to do this, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=27&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When I write email and say that I am attaching a document, I frequently send the mail and forget to attach the document. We&#8217;re all working too fast and off it goes.  So I thought I&#8217;d write an extension for Thunderbird to check for the string attach.  Just as I was about to do this, I decided to check if there was such an extension already. And sure enough there was &#8211; <a href="https://addons.mozilla.org/en-US/thunderbird/addon/5759">attachment reminder</a> by  	Philipp Kewisch and Daniel Folkinshteyn. And sure enough it works nicely with my version of Thunderbird.</p>
<br /> Tagged: <a href='http://omegahat.wordpress.com/tag/attachments/'>attachments</a>, <a href='http://omegahat.wordpress.com/tag/thunderbird-extension/'>thunderbird extension</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=27&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/12/forgetting-to-attach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
		<item>
		<title>RGraphics device and finding high-level graphical elements</title>
		<link>http://omegahat.wordpress.com/2010/03/12/rgraphics-device-and-finding-high-level-graphical-elements/</link>
		<comments>http://omegahat.wordpress.com/2010/03/12/rgraphics-device-and-finding-high-level-graphical-elements/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 22:48:06 +0000</pubDate>
		<dc:creator>omegahat</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[annotation]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[RGraphicsDevice]]></category>

		<guid isPermaLink="false">http://omegahat.wordpress.com/?p=21</guid>
		<description><![CDATA[I just posted a new version (0.4-0) of the RGraphicsDevice package. This fills in a few details that enable lattice plots to appear fully. This package make its very easy to create new graphics devices for different formats. This has allowed me to experiment with devices for Flash KML JavaScript canvas and to create them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=21&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I just posted a new version (0.4-0) of the <a>RGraphicsDevice</a> package.  This fills in a few details that enable lattice plots to appear fully.  This package make its very easy to create new graphics devices for different formats. This has allowed me to experiment with devices for</p>
<ul>
<li>Flash</li>
<li>KML</li>
<li>JavaScript canvas</li>
</ul>
<p>and to create them with minimal fuss. The <a href="http://www.omegahat.org/RFreetype">RFreetype</a> package also allows us to compute metric info for fonts.</p>
<p>One of the things that I have been implementing with this RGraphicsDevice package in the last week is a device that keeps a list of all the calls to the primitives and their details. This is essentially the display list that is stored in a device, but we are doing this in R and able to put our own structure on the information for each call to the device. What&#8217;s the point?  Well, it allows us to do something similar to what we did in the <a href="http://www.omegahat.org/SVGAnnotation">SVGAnnotation</a> package.  There we created R plots as SVG documents and then went back and post-processed the SVG to find the SVG elements that correspond to the graphical elements in the R plot, e.g. axes, labels, data points, legend, and so on.  Given those SVG elements, we can add hyperlinks, interactive commands and even animation such as the <a href="http://www.omegahat.org/SVGAnnotation/Paper/gapM.svg">gapminder-like display</a>.</p>
<p>So how does this &#8220;component device&#8221; relate to this? Well, we can collect  the graphical elements and then analyze and group them to identify the different elements of the R plots. Then we can use this to understand the order in which the elements were constructed and annotate or post-process code  for Flash, JavaScript canvas, KML or SVG. This is the general approach to being able to map the low-level elements to the high-level graphical components of the plot and vice verse.</p>
<br /> Tagged: <a href='http://omegahat.wordpress.com/tag/animation/'>animation</a>, <a href='http://omegahat.wordpress.com/tag/annotation/'>annotation</a>, <a href='http://omegahat.wordpress.com/tag/interactive/'>interactive</a>, <a href='http://omegahat.wordpress.com/tag/rgraphicsdevice/'>RGraphicsDevice</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omegahat.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omegahat.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omegahat.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omegahat.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omegahat.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omegahat.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omegahat.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omegahat.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omegahat.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omegahat.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omegahat.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omegahat.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omegahat.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omegahat.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omegahat.wordpress.com&amp;blog=1345476&amp;post=21&amp;subd=omegahat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omegahat.wordpress.com/2010/03/12/rgraphics-device-and-finding-high-level-graphical-elements/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f4c6d9feb502dde709fa7f6f41e995bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omegahat</media:title>
		</media:content>
	</item>
	</channel>
</rss>
