[R-sig-Debian] Cannot install packages

George N. White III gnwiii @ending from gm@il@com
Wed Oct 10 02:19:26 CEST 2018


On Tue, 9 Oct 2018 at 12:25, Ernes Cereku <ernesicereku using gmail.com> wrote:
>
> Hi,
>
> Every package I try to install in R i get the same error "had non
zero-exit
> status".
>
> I use Ubuntu 18.04.1 LTS
>
> how can i fix this? Thank you

You probably have packages that were built using R-3.4 (e.g., the distro
supplied
version).

It would be helpful to mention how you installed R-3.5 and whether you
prefer to
use binary packages or to install from source.,

You might find Installation of R-3.5 on Ubuntu 18.04 LTS
<https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/>
 helpful.

>
> This shows up when I try install.packages("Rcmdr", dep=T)
>
> Error : package ‘htmltools’ was installed by an R version with different
> internals; it needs to be reinstalled for use with this R version
> ERROR: lazy loading failed for package ‘rmarkdown’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/rmarkdown’
> ERROR: dependency ‘shiny’ is not available for package ‘miniUI’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/miniUI’
> ERROR: dependency ‘shiny’ is not available for package ‘crosstalk’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/crosstalk’
> ERROR: dependency ‘arm’ is not available for package ‘mi’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/mi’
> ERROR: dependency ‘rio’ is not available for package ‘car’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/car’
> ERROR: dependencies ‘shiny’, ‘miniUI’ are not available for package
> ‘manipulateWidget’
> * removing
‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/manipulateWidget’
> ERROR: dependency ‘car’ is not available for package ‘RcmdrMisc’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/RcmdrMisc’
> ERROR: dependency ‘mi’ is not available for package ‘sem’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/sem’
> ERROR: dependencies ‘shiny’, ‘crosstalk’, ‘manipulateWidget’ are not
> available for package ‘rgl’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/rgl’
> ERROR: dependencies ‘RcmdrMisc’, ‘car’ are not available for package
‘Rcmdr’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/Rcmdr’
>
> The downloaded source packages are in
>     ‘/tmp/Rtmp96RN5M/downloaded_packages’
> There were 14 warnings (use warnings() to see them)
>
> --And this show up when I try just install.packages()
>
> * installing *source* package ‘rio’ ...
> ** package ‘rio’ successfully unpacked and MD5 sums checked
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> Error : package ‘data.table’ was installed by an R version with different
> internals; it needs to be reinstalled for use with this R version
> ERROR: lazy loading failed for package ‘rio’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/rio’
> * installing *source* package ‘effects’ ...
> ** package ‘effects’ successfully unpacked and MD5 sums checked
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> Error : package ‘colorspace’ was installed by an R version with different
> internals; it needs to be reinstalled for use with this R version
> ERROR: lazy loading failed for package ‘effects’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/effects’
> ERROR: dependency ‘rio’ is not available for package ‘car’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/car’
> ERROR: dependency ‘car’ is not available for package ‘RcmdrMisc’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/RcmdrMisc’
> ERROR: dependencies ‘RcmdrMisc’, ‘car’ are not available for package
‘Rcmdr’
> * removing ‘/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/Rcmdr’
>
> The downloaded source packages are in
>     ‘/tmp/Rtmp96RN5M/downloaded_packages’
> Warning messages:
> 1: In install.packages("Rcmdr") :
>   installation of package ‘rio’ had non-zero exit status
> 2: In install.packages("Rcmdr") :
>   installation of package ‘effects’ had non-zero exit status
> 3: In install.packages("Rcmdr") :
>   installation of package ‘car’ had non-zero exit status
> 4: In install.packages("Rcmdr") :
>   installation of package ‘RcmdrMisc’ had non-zero exit status
> 5: In install.packages("Rcmdr") :
>   installation of package ‘Rcmdr’ had non-zero exit status
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian



-- 
George N. White III

	[[alternative HTML version deleted]]



More information about the R-SIG-Debian mailing list