installing R commender

Asked by tahsin

I wanted to install R commender in my UBUNTI 11.04 through UBUNTU software center
It shows followings

Package dependencies cannot be resolved

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

Details
r-cran-rcmdr: Depends: libc6 (>= 2.1.3) but 2.13-0ubuntu13 is to be installed
              Depends: r-base-core (>= 2.12.0) but 2.12.1-1 is to be installed
              Depends: r-cran-car (>= 2.0-0) but 2.0-7-1 is to be installed
              Depends: r-cran-sm (>= 2.0.12-2) but 2.2-4.1-1 is to be installed

How can I solve it, please ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu rcmdr Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
wojox (wojox) said :
#1

Have you tried adding the repo yourself and installing:

http://cran.r-project.org/bin/linux/ubuntu/

Revision history for this message
tahsin (tahsin1st) said :
#2

Sorry I can not able to do it as I am very new in UBUNTU Please tell me manually or tell me to install through the UBUNTU software center , please.
I am a student of statistics and I need it crucially.
Please help me.

Revision history for this message
Sam_ (and-sam) said :
#3

Missing libraries seem to be fixed in Debian but not in Ubuntu.
Bug #576244

Last changelog entry from 03 Nov 2010, package looks a little orphaned.

Revision history for this message
tahsin (tahsin1st) said :
#4

Who can I solve it as I am very new in UBUNTU and R - commender is crucially needed to me.Please help me.
I noticed 3 person review R commender in the UBUNTU software center that means they can install it .So why I could not ?
please help me .

Revision history for this message
wojox (wojox) said :
#5

Run this in the terminal:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.orig

echo 'deb http://cran.r-project.org/bin/linux/ubuntu/ natty/' >> /etc/apt/sources.list.d/r-project.sources.list

sudo apt-get update

sudo apt-get install r-base

Revision history for this message
marcus aurelius (adbiz) said :
#6

in ubuntu, open the terminal by pressing CTL+ALT+T

triple click on the first line wojox gave then go into the terminal window and press your middle mouse button (or scroll wheel) to copy the lines there then press enter.

do the above step for each of the lines wojox gave.

this will install R for you.

if you have any problems, post on this website again.

Revision history for this message
tahsin (tahsin1st) said :
#7

In terminal it provides

tahsin@tahsin-desktop:~$ sudo apt-get install r-base
[sudo] password for tahsin:
123456Sorry, try again.
[sudo] password for tahsin:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
tahsin@tahsin-desktop:~$

what I can do now?

Revision history for this message
tahsin (tahsin1st) said :
#8

Dear marcus aurelius.
 I am very new in UBUNTU . and I can not perform what YOU told me to do. please make it easy to me .

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

run the command the output gave, what is output?

Revision history for this message
tahsin (tahsin1st) said :
#10

I got following in the Terminal

tahsin@tahsin-desktop:~$ sudo apt-get install r-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 r-base : Depends: r-base-core (>= 2.12.1-1) but it is not going to be installed
          Depends: r-recommended (= 2.12.1-1) but it is not going to be installed
          Recommends: r-base-html but it is not going to be installed
E: Broken packages
tahsin@tahsin-desktop:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

Can you give the output of:

uname -a; lsb_release -a

Thanks

Revision history for this message
tahsin (tahsin1st) said :
#12

The out put is

tahsin@tahsin-desktop:~$ uname -a; lsb_release -a
Linux tahsin-desktop 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
tahsin@tahsin-desktop:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13
Revision history for this message
tahsin (tahsin1st) said :
#14

the result

tahsin@tahsin-desktop:~$ wget http://launchpadlibrarian.net/60793043/r-base-core_2.12.1-1_i386.deb; wget http://launchpadlibrarian.net/60793048/r-base-html_2.12.1-1_all.deb; sudo dpkg -i ./*.deb; sudo apt-get -f install
--2011-06-22 01:01:55-- http://launchpadlibrarian.net/60793043/r-base-core_2.12.1-1_i386.deb
Resolving launchpadlibrarian.net... 91.189.89.229, 91.189.89.228
Connecting to launchpadlibrarian.net|91.189.89.229|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13718874 (13M) [application/x-debian-package]
Saving to: `r-base-core_2.12.1-1_i386.deb'

100%[======================================>] 13,718,874 119K/s in 2m 26s

2011-06-22 01:04:22 (91.9 KB/s) - `r-base-core_2.12.1-1_i386.deb' saved [13718874/13718874]

--2011-06-22 01:04:22-- http://launchpadlibrarian.net/60793048/r-base-html_2.12.1-1_all.deb
Resolving launchpadlibrarian.net... 91.189.89.229, 91.189.89.228
Connecting to launchpadlibrarian.net|91.189.89.229|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60176 (59K) [application/x-debian-package]
Saving to: `r-base-html_2.12.1-1_all.deb'

100%[======================================>] 60,176 113K/s in 0.5s

2011-06-22 01:04:24 (113 KB/s) - `r-base-html_2.12.1-1_all.deb' saved [60176/60176]

[sudo] password for tahsin:
Selecting previously deselected package r-base-core.
(Reading database ... 130616 files and directories currently installed.)
Unpacking r-base-core (from .../r-base-core_2.12.1-1_i386.deb) ...
Selecting previously deselected package r-base-html.
Unpacking r-base-html (from ./r-base-html_2.12.1-1_all.deb) ...
dpkg: dependency problems prevent configuration of r-base-core:
 r-base-core depends on libblas3gf | libblas.so.3gf | libatlas3gf-base; however:
  Package libblas3gf is not installed.
  Package libblas.so.3gf is not installed.
  Package libatlas3gf-base is not installed.
 r-base-core depends on libgfortran3 (>= 4.3); however:
  Package libgfortran3 is not installed.
 r-base-core depends on liblapack3gf | liblapack.so.3gf | libatlas3gf-base; however:
  Package liblapack3gf is not installed.
  Package liblapack.so.3gf is not installed.
  Package libatlas3gf-base is not installed.
 r-base-core depends on tcl8.5 (>= 8.5.0); however:
  Package tcl8.5 is not installed.
 r-base-core depends on tk8.5 (>= 8.5.0); however:
  Package tk8.5 is not installed.
dpkg: error processing r-base-core (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of r-base-html:
 r-base-html depends on r-base-core; however:
  Package r-base-core is not configured yet.
dpkg: error processing r-base-html (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for install-info ...
Errors were encountered while processing:
 r-base-core
 r-base-html
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  tcl8.5
Suggested packages:
  tclreadline
The following packages will be REMOVED:
  r-base-core r-base-html
The following NEW packages will be installed:
  tcl8.5
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1,570 kB of archives.
After this operation, 23.2 MB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://bd.archive.ubuntu.com/ubuntu/ natty/main tcl8.5 i386 8.5.8-2build1 [1,570 kB]
Fetched 1,570 kB in 13s (116 kB/s)
(Reading database ... 131694 files and directories currently installed.)
Removing r-base-html ...
Removing r-base-core ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Selecting previously deselected package tcl8.5.
(Reading database ... 130623 files and directories currently installed.)
Unpacking tcl8.5 (from .../tcl8.5_8.5.8-2build1_i386.deb) ...
Processing triggers for man-db ...
Setting up tcl8.5 (8.5.8-2build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
tahsin@tahsin-desktop:~$
tahsin@tahsin-desktop:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

Try the following: open a terminal and enter the following commands:

sudo dpkg --configure -a
sudo apt-get install tk8.5 libgfortran3 libblas3gf liblapack3gf
sudo apt-get install r-base-core r-base-html

please copy and paste the output into a new message of this question thread.

Can you help with this problem?

Provide an answer of your own, or ask tahsin for more information if necessary.

To post a message you must log in.