[R] installation problem on Ubuntu

David Winsemius dwinsemius at comcast.net
Fri Apr 22 23:08:54 CEST 2016


> On Apr 22, 2016, at 12:47 PM, Paul Tremblay <paulhtremblay at gmail.com> wrote:
> 
> LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH
> source ~/.bash_profile

On my machine Sys.getenv("LD_LIBRARY_PATH") returns "" in R and echo $LD_LIBRARY_PATH likewise returns only a carriage return from a bash console, but I'm on a UNIX box and Linux may be different. You might try posting on R-SIG-Debian since Ubuntu is a fork of Debian. 

Best;
David.
> 
> I still get the same error. 
> 
> On Thu, Apr 21, 2016 at 7:45 PM, David Winsemius <dwinsemius at comcast.net> wrote:
> 
> > On Apr 21, 2016, at 1:23 PM, Paul Tremblay <paulhtremblay at gmail.com> wrote:
> >
> > I was able to install the curl library with no problems. However, when I
> > tried to install ggplot (install.packages("ggplot2")), I got the same
> > message as earlier, that R can't load internet.so.
> 
> Is the libcurl directory in your search path?
> 
> David.
> >
> > Thanks for your help!
> >
> > On Wed, Apr 20, 2016 at 1:24 PM, Tom Wright <tom at maladmin.com> wrote:
> >
> >> apt-get install curl libcurl4-openssl-dev
> >>
> >> On Wed, 2016-04-20 at 09:36 -0700, Paul Tremblay wrote:
> >>> I needed to update R so I could install ggplot. I am running Ubuntu
> >> 12.04.
> >>> I cannot upgrade Ubuntu because I am using a work computer.
> >>>
> >>> I tried upgrading the normal way:
> >>>
> >>> sudo apt-get update
> >>> sudo apt-get install r-base r-base-dev
> >>>
> >>> But this only installed an earlier version. Finally I tried installing
> >> from
> >>> source (./configure, Make install). This worked. However, when I try to
> >>> install packages, I get this error:
> >>>
> >>> Error in download.file(url, destfile = f, quiet = TRUE) :
> >>>  internet routines cannot be loaded
> >>> In addition: Warning message:
> >>> In download.file(url, destfile = f, quiet = TRUE) :
> >>>  unable to load shared object '/usr/local/lib/R/modules//internet.so':
> >>>  /usr/local/lib/R/modules//internet.so: undefined symbol:
> >> curl_multi_wait
> >>>
> >>>
> >>>>> ls /usr/local/lib/R/modules/
> >>>>> R_X11.so  R_de.so  internet.so  lapack.so
> >>>
> >>> Thanks!
> >>>
> >>> P
> >>>
> >>>      [[alternative HTML version deleted]]
> >>>
> >>> ______________________________________________
> >>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >>> 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.
> >>
> >>
> >>
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > 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
> 
> 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list