All: I have been looking through the string of posts regarding this same issue, but I haven't been able to fix this problem. I am running Ubuntu 10.4 64bit, R version 2.10.1 I cannot install certain packages (e.g. "vegetarian") and each time it says basically the same thing (regardless of the package): ################################################################ ... leaving stuff out ...... Error in library("vegetarian") : there is no package called 'vegetarian' Execution halted The downloaded packages are in ?/tmp/RtmphcJ8mn/downloaded_packages? Warning message: In install.packages("vegetarian") : installation of package 'vegetarian' had non-zero exit status ############################################################### I have tried the following: 1) ensured I have 'build-essential' Ubuntu package installed (I do) 2) attempted install.packages as root (sudo R) to no avail -- View this message in context: http://r.789695.n4.nabble.com/R-Ubuntu-package-installation-with-non-zero-exit-status-tp3305989p3305989.html Sent from the R help mailing list archive at Nabble.com.
also, I have 'r-base-dev' installed as well -- View this message in context: http://r.789695.n4.nabble.com/R-Ubuntu-package-installation-with-non-zero-exit-status-tp3305989p3306005.html Sent from the R help mailing list archive at Nabble.com.
Stephen Sefick
2011-Feb-15 17:32 UTC
[R] R, Ubuntu, package installation with non-zero exit status
Just tried this on ubuntu 10.04 (latest update) with R 2.12.1 NC repository worked like a charm. Try updating your R version? I didn't see a R-version depends on the vegetarian CRAN site, but that would be the first thing that I would do. On Mon, 2011-02-14 at 14:06 -0800, B77S wrote:> All: > I have been looking through the string of posts regarding this same issue, > but I haven't been able to fix this problem. > I am running Ubuntu 10.4 64bit, R version 2.10.1 > I cannot install certain packages (e.g. "vegetarian") and each time it says > basically the same thing (regardless of the package): > ################################################################ > ... leaving stuff out ...... > > Error in library("vegetarian") : there is no package called 'vegetarian' > Execution halted > > The downloaded packages are in > ?/tmp/RtmphcJ8mn/downloaded_packages? > Warning message: > In install.packages("vegetarian") : > installation of package 'vegetarian' had non-zero exit status > > ############################################################### > > I have tried the following: > 1) ensured I have 'build-essential' Ubuntu package installed (I do) > 2) attempted install.packages as root (sudo R) > > to no avail >
FYI: The problem I had was that my modified .Rprofile text file was being read and had lines to load the libraries of packages that were not installed yet on this Ubuntu machine; I guess I copied the .Rprofile from my laptop. If you have similar problems, simply do this in command line: mv .Rprofile Rprofile install.packages to your hearts desire and then mv Rprofile .Rprofile -- View this message in context: http://r.789695.n4.nabble.com/R-Ubuntu-package-installation-with-non-zero-exit-status-tp3305989p3432176.html Sent from the R help mailing list archive at Nabble.com.
I am running Ubuntu 11.04 natty and R 2.12.1 I have exactly the same message error when try to install any package. I have installed R in others linux's distros without problems... "installation of package 'any package' had non-zero exit status" It doesn't matter if i try to install it from a cran mirror or from a file on my computer, it's the same. May be the problem came from teh ubuntu configuration but i don't have idea! Can somebody help me? Thanks -- View this message in context: http://r.789695.n4.nabble.com/R-Ubuntu-package-installation-with-non-zero-exit-status-tp3305989p3814543.html Sent from the R help mailing list archive at Nabble.com.