Installing error with e1071 package in R version 3.3.1 - r

I am using R 3.3.1 version and while trying to install the package "e1071" in it I get the following message:
install.packages("e1071")
Installing package into ‘C:/Users/test/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘e1071’
These will not be installed
Looking for ways to troubleshoot and getting an accurate answer for this problem.

In principle, the following should work:
Download the latest binary package from https://cran.r-project.org/web/packages/e1071/index.html
Inside R, execute the command
install.packages(pkgs = path_to_local_file, repos = NULL)
However, if this works then the direct installation should also work. It’s possible that there’s no compiled version for your R version on Windows. In that case, you need to install Rtools which makes this more complicated.

Related

Failed to install libgit2 on linux

install.packages("libgit2")enter image description here
Installing package into â/ldfssz1/ST_INFECTION/P17Z10200N0246_Phage_XMF/USER/luoyunzhe/software/Rlibraryâ
(as âlibâ is unspecified)
Warning message:
package âlibgit2-devâ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
The error is right there - that package is not available for your version of R.
If you need that package I suggest you look it up on CRAN and find which versions of R are supported.

An error when trying to install a package related to R version

I am trying to install the package ggpubr using the command install.packages('ggpubr') but I'm getting the error:
Installing package into ‘/home/nasser/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘cowplot’ is not available
I then tried to install the package cowplot using install.packages('cowplot') command and again I got the following error Warning in install.packages : package ‘cowplot’ is not available (for R version 3.4.4)
I searched for a solution and found a suggestion to use the following command:
devtools::install_github("wilkelab/cowplot")
and I got this error ERROR: this R is version 3.4.4, package 'cowplot' requires R >= 3.5.0
After a long time searching for a solution, I ended up having no perfect solution.
Can you please suggest me a way to avoid this error?
You have version 3.4.4 of R installed. The package cowplot requires version 3.5.0 or higher. You must upgrade your version of R.
Sometimes this is not possible (such as on a work network). In these cases, an alternative is to install an older version of cowplot that does not have that requirement. Of course, this means you are using an older version of the package. Archives are available on CRAN for older package versions.
https://cran.r-project.org/src/contrib/Archive/cowplot/

How to install XCMS package in R

When I am trying installing XCMS using command install.packages("xcms")
I got the following warning:
Installing package into ‘C:/Users/pma/Desktop/R3/packages’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘xcms’ is not available (for R version 3.4.4).
I can't find any reference to this problem in the forums,
can anyone suggest a solution? Thank you!
I should add that I am working in corporate environment cannot install updated versions than 3.4.4. I have already tried installing 3.3 version it did not work. I am using windows 10, R Studio Version 1.1.456
xcms is a package which is available through Bioconductor. Please see the website of Bioconductor on how to install xcms.

install arcgisbinding package in R version 3.5.0,get warning: as ‘lib’ is unspecified,package ‘‘arcgisbinding’ is not available

I try to install "arcgisbinding" package in R version 3.5.0. But I failed, get the following error and warning.
Installing package into ‘C:/Users/Lenovo/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘‘arcgisbinding’ is not available (for R version 3.5.0)
I also try to install this package in R version 3.4.3, get the same error and warning. I thought the main reason for this is the ‘lib’ is unspecified.
I am confused because that the "arcgisbinding" package can be installed on R >= 3.2, based on the introduction of the official website - PDF.
Could anyone help me? Thanks so much.
First, download the "arcgisbinding" package manually from GitHub: https://github.com/R-ArcGIS/r-bridge/releases/tag/v1.0.1.232.
Second, install this package in Rstudio using the menu "Tools">"install packages", and then choose the downloaded package archive. The installation is very fast.

How do I install Aspell package/library in Windows?

I would like to install Aspell package in R in Windows but there is no binary file available of Aspell package.
Please suggest some way around.
Following is the message i get on trying to install it.
> install.packages("Aspell", repos = "http://www.omegahat.org/R")
Installing package into ‘C:/Users/admin/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
package ‘Aspell’ is available as a source package but not as a binary
Warning message:
package ‘Aspell’ is not available (for R version 3.0.1)
It is said: "There is currently no binary version for Windows. Send mail to me if you would like one."
From
http://www.omegahat.org/Aspell/

Resources