[R] problem with ldpaths and new R

David Winsemius dwinsemius at comcast.net
Sat Jul 27 07:27:35 CEST 2013


On Jul 26, 2013, at 9:45 PM, Erin Hodgess wrote:

> Hello!
> 
> I have just installed R on an Ubutnu machine (13.04)

Did you follow directions given here:

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

"Users who need to compile R packages from source [e.g. package maintainers, or anyone installing packages with install.packages()] should also install the r-base-dev package:

   sudo apt-get install r-base-dev
"

I ask because one ot the other directions that you did not follow was:

"The best place to report problems with these packages or ask R questions specific to Ubuntu is the R-SIG-Debian mailing list. See

   https://stat.ethz.ch/mailman/listinfo/r-sig-debian
"

-- 
David.

> and keep getting the
> following:
> 
> erin at erin-Lenovo-IdeaPad-Y480:~$ R
> /usr/bin/R: line 236: /usr/lib/R/etc/ldpaths: No such file or directory
> 
> R version 3.0.1 (2013-05-16) -- "Good Sport"
> Copyright (C) 2013 The R Foundation for Statistical Computing
> Platform: x86_64-pc-linux-gnu (64-bit)
> 
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
> 
>  Natural language support but running in an English locale
> 
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> 
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> 
>> install.packages("pbdMPI",depen=TRUE)
> Installing package into Œ/home/erin/lib/R/library‚
> (as Œlib‚ is unspecified)
> --- Please select a CRAN mirror for use in this session ---
> also installing the dependency Œrlecuyer‚
> 
> trying URL '
> http://cran.revolutionanalytics.com/src/contrib/rlecuyer_0.3-3.tar.gz'
> Content type 'application/x-gzip' length 11756 bytes (11 Kb)
> opened URL
> ==================================================
> downloaded 11 Kb
> 
> trying URL '
> http://cran.revolutionanalytics.com/src/contrib/pbdMPI_0.1-8.tar.gz'
> Content type 'application/x-gzip' length 417547 bytes (407 Kb)
> opened URL
> ==================================================
> downloaded 407 Kb
> 
> /usr/lib/R/bin/R: line 140: /usr/lib/R/etc/ldpaths: No such file or
> directory
> /usr/lib/R/bin/R: line 236: /usr/lib/R/etc/ldpaths: No such file or
> directory
> Error in file(con, "r") : cannot open the connection
> Calls: <Anonymous> -> sub -> grep -> readLines -> file
> In addition: Warning message:
> In file(con, "r") :
>  cannot open file '/usr/lib/R/etc/Makeconf': No such file or directory
> /usr/lib/R/bin/R: line 140: /usr/lib/R/etc/ldpaths: No such file or
> directory
> /usr/lib/R/bin/R: line 236: /usr/lib/R/etc/ldpaths: No such file or
> directory
> Error in file(con, "r") : cannot open the connection
> Calls: <Anonymous> -> sub -> grep -> readLines -> file
> In addition: Warning message:
> In file(con, "r") :
>  cannot open file '/usr/lib/R/etc/Makeconf': No such file or directory
> 
> The downloaded source packages are in
>    Œ/tmp/RtmpAtAxNL/downloaded_packages‚
> Warning messages:
> 1: In install.packages("pbdMPI", depen = TRUE) :
>  installation of package Œrlecuyer‚ had non-zero exit status
> 2: In install.packages("pbdMPI", depen = TRUE) :
>  installation of package ŒpbdMPI‚ had non-zero exit status
>> 
> 
> 
> I uninstalled it, deleted the /etc/R and /usr/lib/R directories, and
> re-installed.  (Actually, I followed that process twice).
> 
> I'm still stuck.  Does anyone have any suggestions, please?
> 
> Thanks,
> Erin
> 
> 
> -- 
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list