[R-sig-Debian] Problem with R on Kubuntu

Dirk Eddelbuettel edd at debian.org
Wed Sep 3 20:33:13 CEST 2008


On 3 September 2008 at 14:07, john walden wrote:
|   I'm using Kubuntu 8.04 (Hardy). I installed R from the mirror:
| http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu hardy/

Ok. Sometimes the mirrors are outdated. I just point at the round-robin DNS
entry   cran.us.r-project.org  which points to the Fred Hutchinson Cancer
Research Center in Seattle (and is the home of BioConductor).

So do this:

edd at joe:~$ ldd /usr/lib/R/lib/libR.so
        linux-gate.so.1 =>  (0xb7f6d000)
        libblas.so.3gf => /usr/lib/atlas/libblas.so.3gf (0xb790e000)
        libgfortran.so.2 => /usr/lib/libgfortran.so.2 (0xb7877000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7851000)
        libreadline.so.5 => /lib/libreadline.so.5 (0xb7820000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb77f9000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb77e4000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb77e0000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7691000)
        /lib/ld-linux.so.2 (0xb7f6e000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7660000)
edd at joe:~$     

As you can see: libreadline.so.5 not 4.  We have to find where
libreadline.so.4 crept in.

And with that, my R works:

edd at joe:~$ echo 'cat("Hello, world\n")' | R --slave
Hello, world
edd at joe:~$  

|   I'm not sure what I changed.  One possibility is installing Java
| from Sun??  Sorry I wasn't able to give you better information. I
| was hoping someone had seen this before.

Could be, or something else you installed.  

Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the R-SIG-Debian mailing list