<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Tom Moertel's Weblog: Tag rpms</title>
    <link>http://blog.moertel.com/articles/tag/rpms?tag=rpms</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Quality rants on programming theory and stuff geeks like</description>
    <item>
      <title>New Fedora Core RPMS for CRAN packages arm, Matrix, lme4, car, coda, leaps, and mlmRev</title>
      <description>&lt;p&gt;Just a quick note for folks using the &lt;a href="http://www.r-project.org"&gt;R statistics
system&lt;/a&gt; on &lt;a href="http://fedoraproject.org/"&gt;Fedora
Linux&lt;/a&gt;.  I have packaged for Fedora a
bunch of R packages from the &lt;a href="http://cran.r-project.org/"&gt;&lt;span class="caps"&gt;CRAN&lt;/span&gt;&lt;/a&gt;.  (R
packages have to be packaged again, as &lt;span class="caps"&gt;RPM&lt;/span&gt; packages, to integrate with
Fedora Linux.)&lt;/p&gt;


	&lt;p&gt;My initial goal was to package
&lt;a href="http://cran.r-project.org/src/contrib/Descriptions/arm.html"&gt;arm&lt;/a&gt;,
which contains tools for working with various regression models.
(This package accompanies Andrew Gelman and Jennifer Hill&amp;#8217;s wonderful
book &lt;a href="http://www.amazon.com/exec/obidos/ASIN/0521867061/ref=nosim/tommoertesweb-20"&gt;Data Analysis Using Regression and Multilevel/Hierarchical Models&lt;/a&gt;.)
Packaging &amp;#8220;arm,&amp;#8221; however, quickly snowballed into packaging a bunch of
prerequisites.  Thankfully, I have now completed that task and can
share the fruits of my labor with you.&lt;/p&gt;


	&lt;p&gt;All in all, to install &amp;#8220;arm,&amp;#8221; you will need the following RPMs:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;R-arm-1.0-2&lt;/li&gt;
		&lt;li&gt;R-car-1.2-1&lt;/li&gt;
		&lt;li&gt;R-lme4-0.9975-1&lt;/li&gt;
		&lt;li&gt;R-Matrix-0.9975-1&lt;/li&gt;
		&lt;li&gt;R-R2WinBUGS-2.0-1&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;The following RPMs are optional (but you will need them if you
want to rebuild the RPMs):&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;R-coda-0.10-1&lt;/li&gt;
		&lt;li&gt;R-leaps-2.7-1&lt;/li&gt;
		&lt;li&gt;R-mlmRev-0.995-1&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;You can download the packages from the &lt;a href="http://community.moertel.com/ss/space/RPMs"&gt;RPMs
section&lt;/a&gt; of the Community
Projects site.  Better yet, you can use Yum to
download them for you.  Just add the &lt;em&gt;moertel-community&lt;/em&gt;
Yum repository to your /etc/yum.repos.d directory (see &lt;a href="http://community.moertel.com/ss/space/RPMs"&gt;RPMs&lt;/a&gt; for the recipe) and then use the
following command:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;$ sudo yum install R-arm
&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;Yum will automatically resolve dependencies and install the required
packages.  If you want any of the optional packages, add them after
&amp;#8220;R-arm&amp;#8221; on the command line.&lt;/p&gt;


	&lt;p&gt;I have built the packages for Fedora Core 6 on the x86_64 architecture, but the
&lt;a href="http://community.moertel.com/rpms/fedora/6/SPECS/"&gt;&lt;span class="caps"&gt;RPM&lt;/span&gt; specs are available&lt;/a&gt;
if you want to rebuild the packages for other architectures.  (See
the instructions for &lt;a href="http://community.moertel.com/ss/space/Rebuilding+RPMs"&gt;rebuilding RPMs&lt;/a&gt; for help.)&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Caveat:&lt;/strong&gt;
I&amp;#8217;m not sure that the R-R2WinBUGS package is fully functional.  It
depends on BRugs, which doesn&amp;#8217;t yet build on the Linux platform.  To
get around this problem, I made R-R2WinBUGS&amp;#8217;s dependency on BRugs
weak; the first package no longer requires the second to install.&lt;/p&gt;</description>
      <pubDate>Wed, 25 Apr 2007 14:07:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:1f62fc7e-a01e-462d-b4ca-e7d8f92f3648</guid>
      <author>Tom Moertel</author>
      <link>http://blog.moertel.com/articles/2007/04/25/new-fedora-core-rpms-for-cran-packages</link>
      <category>statistics</category>
      <category>linux</category>
      <category>fedora</category>
      <category>R</category>
      <category>statistics</category>
      <category>rpms</category>
      <trackback:ping>http://blog.moertel.com/articles/trackback/446</trackback:ping>
    </item>
    <item>
      <title>Engauge Digitizer: a handy tool for extracting data from charts</title>
      <description>&lt;p&gt;Today I wanted to extract the data that were visualized in a
chart I saw on &lt;a href="http://www.blog.sethroberts.net/2007/04/14/omega-3-and-arithmetic-continued/"&gt;Seth Roberts&amp;#8217;s blog&lt;/a&gt;.  That is, I had a &lt;em&gt;picture&lt;/em&gt; of a data set, and I wanted the numbers behind the picture.&lt;/p&gt;


	&lt;p&gt;This task turned out to be surprisingly easy &amp;#8211; once I found &lt;a href="http://digitizer.sourceforge.net/"&gt;Engauge Digitizer&lt;/a&gt;, an open-source (GPL) tool made for this very task.  After I launched Engauge, the digitization process was straightforward:&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;I established the chart&amp;#8217;s coordinate system by clicking in the corners and entering the associated coordinates.&lt;/li&gt;
		&lt;li&gt;Then I had Engauge identify data points.  With the mouse, I selected a data point by hand, teaching Engauge what a point looks like. Then Engauge identified spots on chart that looked like data points and locked on to them.  I was able to step through the points to tell Engauge to skip the few it misidentified.&lt;/li&gt;
		&lt;li&gt;I manually selected a few more data points that were scrunched into blobs and had eluded Engauge&amp;#8217;s point-detection heuristics.&lt;/li&gt;
		&lt;li&gt;Finally, I exported the data set in &lt;span class="caps"&gt;CSV&lt;/span&gt; format.&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;If you ever need to extract the data behind a chart, do check out
Engauge Digitizer.  (If you use &lt;a href="http://fedoraproject.org/"&gt;Fedora Linux&lt;/a&gt;,
you&amp;#8217;ll be happy to know that I have packaged Engauge for you.
Get it at the &lt;a href="http://community.moertel.com/ss/space/RPMs"&gt;RPMs section&lt;/a&gt; 
of the community site.)&lt;/p&gt;</description>
      <pubDate>Tue, 17 Apr 2007 03:45:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:f8b0d9b7-7322-4d32-bed8-6f5ded82940f</guid>
      <author>Tom Moertel</author>
      <link>http://blog.moertel.com/articles/2007/04/17/engauge-digitizer-a-handy-tool-for-extracting-data-from-charts</link>
      <category>statistics</category>
      <category>fedora</category>
      <category>statistics</category>
      <category>data</category>
      <category>charts</category>
      <category>plots</category>
      <category>rpms</category>
      <category>tools</category>
      <trackback:ping>http://blog.moertel.com/articles/trackback/441</trackback:ping>
    </item>
  </channel>
</rss>
