[R-sig-Debian] problem with ldpaths

Dirk Eddelbuettel edd at debian.org
Fri Oct 25 14:54:29 CEST 2013


On 25 October 2013 at 13:41, Jim Maas wrote:
| I've just installed r-base (several times!) using the instructions at
| http://cran.us.r-project.org/bin/linux/ubuntu/
| 
| and for some reason it is not creating a /etc/R/ldpaths file.
| 
| I've tried a few times, tried purging, and removing everything in
| /etc/R    and
| /usr/lib/R
| 
| as suggested by Dirk,
| 
| and reinstalling but still get
| 
| $ R
| /usr/bin/R: line 236: /usr/lib/R/etc/ldpaths: No such file or directory
| 
| R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
| Copyright (C) 2013 The R Foundation for Statistical Computing
| Platform: x86_64-pc-linux-gnu (64-bit)
| 
| 
| and then cannot install packages.
| 
| I tried manually creating the file /etc/R/ldpaths and it got rid of the
| error when loading R, but would still not install packages.
| 
| Something is not loading/installing correctly for latest version.  Can
| anyone help diagnose and fix?

No, we cannot as you didn't even tell us which version os Ubuntu you used.

This works for _a lot_ of people. It also works in countless unattended
installs (as eg on Debian, Launchpad, Travis, ... to build or test packages)
so "something" is different at your end. But from the information supplied we
cannot possibly tell what it may be.

Sorry, Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



More information about the R-SIG-Debian mailing list