<?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: New Fedora Core RPMS for CRAN packages arm, Matrix, lme4, car, coda, leaps, and mlmRev</title>
    <link>http://blog.moertel.com/articles/2007/04/25/new-fedora-core-rpms-for-cran-packages</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>
  </channel>
</rss>
