An R Rpm Question

Home » CentOS » An R Rpm Question
CentOS 6 Comments

I’ve had a request to downgrade R on one server, to match three others
(someone who’s just left had important scripts, and I assume they break going a full subrelease…). The server they want downgraded is running
4.1.0-5; the others are running 3.0.1-1. ALL are CentOS 6.5, yet yum downgrade tells me “only upgrade available”, and yum list R-core-3.0.2\*
gives me “no matching packages”.

Anyone know what’s wrong here?

mark

6 thoughts on - An R Rpm Question

  • stock 6.5 system with no R, and just EPEL (and PostgreSQL) repository added… this shows R-core as 3.1.0 in EPEL only, no R in the base distribution.
    so…. what repositories are /you/ using ?

    # yum list R-\*
    Loaded plugins: fastestmirror, refresh-packagekit, security Determining fastest mirrors epel/metalink | 15 kB 00:00
    * base: mirror.steadfast.net
    * epel: linux.mirrors.es.net
    * extras: CentOS.chi.host-engine.com
    * updates: mirror.supremebytes.com base | 3.7 kB 00:00
    epel | 4.4 kB 00:00
    epel/primary_db | 6.3 MB 00:02
    extras | 3.4 kB 00:00
    pgdg93 | 3.7 kB 00:00
    pgdg93/primary_db | 128 kB 00:00
    updates | 3.4 kB 00:00
    updates/primary_db | 4.8 MB 00:03
    Available Packages R.x86_64 3.1.0-5.el6 epel R-DBI.noarch 0.2.5-7.el6 epel R-RODBC.x86_64 1.3.6-1.el6 epel R-car.noarch 2.0.16-1.el6 epel R-core.i686 3.1.0-5.el6 epel R-core.x86_64 3.1.0-5.el6 epel R-core-devel.i686 3.1.0-5.el6 epel R-core-devel.x86_64 3.1.0-5.el6 epel R-devel.i686 3.1.0-5.el6 epel R-devel.x86_64 3.1.0-5.el6 epel R-java.x86_64 3.1.0-5.el6 epel R-java-devel.i686 3.1.0-5.el6 epel R-java-devel.x86_64 3.1.0-5.el6 epel R-lmtest.x86_64 0.9.30-1.el6 epel R-msm.x86_64 1.1.4-1.el6.1 epel R-multcomp.noarch 1.2.17-1.el6 epel R-mvtnorm.x86_64 0.9.9994-1.el6 epel R-nws.noarch 1:1.7.0.1-7.el6 epel R-qtl.x86_64 1.32.10-3.el6 epel R-sandwich.noarch 2.2.10-1.el6 epel R-systemfit.noarch 1.1.15-4.el6 epel R-zoo.x86_64 1.7.9-1.el6

  • Warren Young wrote:

    Sorry, typo. I’ve been a tad busy today… any busier, and I’d feel like a one-armed paperhanger….

    mark

  • so the question is, where did the older 3.0.x version you want get installed from?

    `rpm -qi R-core` should provide the repo info on the systems with the earlier version, similar to…

    # yum info R-core
    … Name : R-core Arch : x86_64
    Version : 3.1.0
    Release : 5.el6
    Size : 48 M
    Repo : epel Summary : The minimal R components necessary for a functional runtime URL : http://www.r-project.org License : GPLv2+
    Description : A language and environment for statistical computing and graphics.
    : R is similar to the award-winning S system, which was developed at
    : Bell Laboratories by John Chambers et al. It provides a wide
    : variety of statistical and graphical techniques (linear and
    : nonlinear modelling, statistical tests, time series analysis,
    : classification, clustering, …).
    :
    : R is designed as a true computer language with control-flow
    : constructions for iteration and alternation, and it allows users to
    : add additional functionality by defining new functions. For
    : computationally intensive tasks, C, C++ and Fortran code can be linked
    : and called at run time.

  • Always Learning wrote:
    Yup. Easier today. And the real problem is that a now-departed (partly)
    user had written R scripts that somehow were dependent upon about four dependencies for *that* version; when one of my people tries to run on it, it fails. I’m trying to get them to debug, so we can upgrade properly….

    mark