On 11/09/2011 06:06 AM, John Coulthard wrote:

Hi

I'm trying to install R on Ubuntu 11.10  and it seems to install fine
with both apt-get and dpkg but always when I start R I get

jt42@bioinf4:~# R

/usr/local/bin/R: line 237: /usr/lib/R/etc/ldpaths: No such file or
directory


R version 2.14.0 (2011-10-31)


Copyright (C) 2011 The R Foundation for Statistical Computing


ISBN 3-900051-07-0

Platform: x86_64-pc-linux-gnu (64-bit)



I read something about creating a soft link from /usr/lib64 to
/usr/lib but that just changes the error to /usr/local/bin/R: line
237: /usr/lib64/R/etc/ldpaths: No such file or directory


There is no ldpaths file created during the install

jt42@bioinf4:~# updatedb

jt42@bioinf4:~# locate ldpaths

/usr/lib/R/etc/ldpaths

jt42@bioinf4:~# ls -lt /usr/lib/R/etc/ldpaths

lrwxrwxrwx 1 root root 14 2011-11-01 12:49 /usr/lib/R/etc/ldpaths ->
/etc/R/ldpaths

jt42@bioinf4:~# ls -lt /etc/R/ldpaths

ls: cannot access /etc/R/ldpaths: No such file or directory

jt42@bioinf4:~#


I've tried to purge all traces of previous installs using apt-get
purge and manually deleteing every remaining R/ directory but still
the same error :(

Can anyone help me get it working?

Thanks John


jt42@bioinf4:~# uname -a Linux bioinf4 3.0.0-12-generic #20-Ubuntu
SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

John,

I just did an install of R on a clean version of Ubuntu 11.10 and I am unable to replicate the issue. I am using 32 bit, so that may be the issue, but I doubt it.

Is there a "etc/R" directory? I would un-install R, delete the /etc/R and /usr/lib/R directories, reboot, then install R again (which may have already tried). Do you do a fresh install of 11.10, or an upgrade? Sometimes the upgrades can cause issues.

Michael


--
Dr. Michael A. Rutter
School of Science
Penn State Erie, The Behrend College
Station Road
Erie, PA 16563
http://math.bd.psu.edu/faculty/rutter

_______________________________________________
R-SIG-Debian mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to