[R] Problem Installing R to SuSE 10 via RPM

Gavin Blackburn gavin.blackburn at strath.ac.uk
Fri Jan 13 17:58:36 CET 2012


I think it's saying you need to install R-base before R-base-devel.

You'll need to add a cran repository as SUSE might not have the most up-to-date version of R.

This is the code for Ubuntu I assume it's the same, just change the distro and keyserver:

sudo apt-get update
sudo add-apt-repository 'deb http://cran.ma.imperial.ac.uk/bin/linux/ubuntu oneiric/'
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -



You may also want to get Sun java, again, change distro and keyserver:

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com B725097B3ACC3965
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

Then run:


sudo apt-get install r-base r-base-dev
sudo R CMD javareconf

Cheers,

Gavin.

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Matthew Pettis
Sent: 13 January 2012 16:43
To: r-help at r-project.org
Subject: [R] Problem Installing R to SuSE 10 via RPM

Hi,

I'm trying to install R from an rpm locally to my account (the reason I'm
not doing it through yast/yast2/zypper is that the sys admin isn't yet
willing to install it, and doesn't want to support it, but will help me
support it if I install it locally -- in short, policy problems rather than
technical).  Below is the SuSE version, Kernel version, and rpm install
error I'm getting, as well as the error...

Can anyone help me with the error?  I'm trying to install R-base 2.14.1,
but it is telling me that I need R-base version 2.14.1 as a dependency.  Am
I using the wrong rpm for an installation starting from scratch?

I got the rpm from:
http://download.opensuse.org/repositories/devel:/languages:/R:/base/SLE_10/x86_64/

Thanks,
Matt




pettis at swat:~/bin> cat /etc/*-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2

pettis at swat:~/bin> uname -a
Linux swat 2.6.16.60-0.34-smp #1 SMP Fri Jan 16 14:59:01 UTC 2009 x86_64
x86_64 x86_64 GNU/Linux

pettis at swat:~/bin> rpm -ivh R-base-devel-2.14.1-30.1.x86_64.rpm
warning: R-base-devel-2.14.1-30.1.x86_64.rpm: Header V3 DSA signature:
NOKEY, key ID 793371fe
error: Failed dependencies:
        R-base = 2.14.1 is needed by R-base-devel-2.14.1-30.1.x86_64

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list