I am trying to install packages (ANY!) in R on a Mac but it always gives me the same error:
Error in install.packages : type 'binary' is not supported on this platform
I have also tried using:
> install.packages("ggplot2_3.3.3.tar.gz", repos = NULL, type="source") Warning: invalid package ‘ggplot2_3.3.3.tar.gz’ Error: ERROR: no packages specified Warning in install.packages : installation of package ‘ggplot2_3.3.3.tar.gz’ had non-zero exit status
Did not have this problem before.
Can someone help me out please?
Thanks
Valentina
Related
I want to install the xgboost package for R with GPU support for Win10
I downloaded the tarball using this link https://github.com/dmlc/xgboost/releases/download/v1.6.0/xgboost_r_gpu_win64_1.6.0.tar.gz
I tried to manually install via the Rgui and I got this error
Warning in system("sh ./configure.win") : 'sh' not found
ERROR: configuration failed for package 'xgboost'
* removing 'C:/Users/adminos/Documents/R/win-library/4.0/xgboost'
Warning message:
In install.packages(files[tarballs], .libPaths()[1L], repos = NULL, :
installation of package ‘C:/Users/adminos/Downloads/xgboost_r_gpu_win64_1.6.0.tar.gz’ had non-zero exit status
So non-zero exit status lib wasn't installed.
How can I install Xgboost for GPU?
Please Help
I have a source of one R package (http://stat.snu.ac.kr/heeseok/autots). I would like to install it in R-studio, however, I got an error.
Here is my try:
install.packages("/Users/Mary/Downloads/autots_2.3.3.tar.gz", repos=NULL, type="source")
Here is the error:
ERROR: dependencies ‘fBasics’, ‘fNonlinear’, ‘fGarch’, ‘fUtilities’, ‘tsDyn’, ‘tseriesChaos’ are not available for package ‘autots’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/autots’
Warning in install.packages :
installation of package ‘/Users/Mary/Downloads/autots_2.3.3.tar.gz’ had non-zero exit status
I come across this problem when I install the package
"TxDb.Hsapiens.UCSC.hg19.knownGene" from Bioclite on RStudio v.1.1442. Below is the error message:
Warning messages:
/TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2.tar.gz' had status 3
2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘TxDb.Hsapiens.UCSC.hg19.knownGene’ had non-zero exit status
I also tried to install this package, but it did not work either:
Warning in install.packages :
package ‘parallel’ is not available (for R version 3.4.3)
Warning in install.packages :
package ‘parallel’ is a base package, and should not be updated
I do not understand what the warnings mean and can someone please help me with resolving this issue?
Thank you.
Some further details would be very helpful - especially the code that you actually used.
What OS are you working on?
Is this a fresh install of R?
Have you previously had TxDB.... installed?
Are you working in a conda environment or similar?
Why did you download the gzipped version of the package?
In a fresh R-3.4.3 environment on Ubuntu I get the following
source("http://www.bioconductor.org/biocLite.R")
## installing source BiocInstaller blah blah success
biocLite("TxDb.Hsapiens.UCSC.hg19.knownGene")
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘RMySQL’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘GenomicFeatures’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘TxDb.Hsapiens.UCSC.hg19.knownGene’ had non-zero exit status
This suggests that if I wanted to install TxDB... I'd have to get RMySQL installed first, and then GenomicFeatures and then ....
Could you post all the code you used and all the contents of the warning messages that you received, please.
Installing an old version of caret on my custom R version was a burden.
I tried using the RStudio installation tool, but failed
I tried the command:
pathToFile <- "C:/Users/Fsociety/Desktop/caret_5.17-7.tar"
install.packages(pathToFile,repos = NULL, type = "source")
I got this error:
Warning: invalid package 'C:/Users/Fsociety/Desktop/caret_5.17-7.tar'
Error: ERROR: no packages specified
Warning in install.packages :
running command '"C:/PROGRA~1/RRO/RRO-32~1.0/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\Fsociety\Documents\R\win-library\3.2" "C:/Users/Fsociety/Desktop/caret_5.17-7.tar"' had status 1
Warning in install.packages :
installation of package ‘C:/Users/Fsociety/Desktop/caret_5.17-7.tar’ had non-zero exit status
Is there any thing wrong with the install.package that I can fix?
I tried to install ggplot2 with following commands, but it can't install.
> library('ggplot2')
Error in library("ggplot2") : there is no package called ‘ggplot2’\
> install.packages('ggplot2', dependencies = T)
package ‘ggplot2’ is available as a source package but not as a binary
Warning in install.packages :
package ‘ggplot2’ is not available (as a binary package for R version 3.1.3)
>
Can you anybody advise what's going wrong?
When i use the command install.packages("ggplot2", type="source",dependencies = TRUE) I got following error
*** arch - i386
Warning: running command 'make -f "D:/R/R-31~1.3/etc/i386/Makeconf" -f "D:/R/R-31~1.3/share/make/winshlib.mk" SHLIB="acepack.dll" SHLIB_LIBADD='$(FLIBS)' OBJECTS="ace.o avas.o rlsmo.o"' had status 127
ERROR: compilation failed for package 'acepack'
* removing 'D:/R/R-3.1.3/library/acepack'
Warning in install.packages :
running command '"D:/R/R-31~1.3/bin/x64/R" CMD INSTALL -l "D:\R\R-3.1.3\library" C:\Users\surjya\AppData\Local\Temp\RtmpWyq9oh/downloaded_packages/acepack_1.3-3.3.tar.gz' had status 1
Warning in install.packages :
installation of package ‘acepack’ had non-zero exit status
Sometimes the mirrors take a long time to update, and they don't pick up the binaries of a package for a few days.
Try install.packages("ggplot2", type="source")
...which, from memory, often works on Windows.