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? Thanks a bunch, J -- Jim Maas [[alternative HTML version deleted]]
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
Jim, What version of Ubuntu are you using? Was this a fresh install or an upgrade? This is the only report of this I have heard, so I need some more information. Michael On 10/25/2013 08:41 AM, 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? > > Thanks a bunch, > > J > > >-- Dr. Michael A. Rutter Associate Professor of Statistics Program Coordinator, Mathematics Penn State Erie, The Behrend College Station Road Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter
Reasonably Related Threads
- install error ldpaths: No such file or directory
- Is there something wrong with R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"?
- Getting confused with two versions of R
- ubuntu installation: can't find ldpaths
- R string comparisons may vary with platform (plain text)