How to install XCMS package in R - 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.

Related

Unable to install RTools even after updating to latest version of R [duplicate]

I've installed devtools for R, but when I call the library with:
library(devtools)
I get the following output:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
So I executed the following code:
install.packages("Rtools", repos = "http://cran.r-project.org/bin/windows/Rtools/")
And I get the following output:
Installing package into ‘C:~/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://cran.r-project.org/bin/windows/Rtools/bin/windows/contrib/3.0
Warning message:
package ‘Rtools’ is not available (for R version 3.0.2)
I would appreciate any help that's out there to get Rtools onto my machine so I can call the devtools library. Thank you!
Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/

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.

Rstudio has been throwing errors since my attempt to install the devtools package [duplicate]

I've installed devtools for R, but when I call the library with:
library(devtools)
I get the following output:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
So I executed the following code:
install.packages("Rtools", repos = "http://cran.r-project.org/bin/windows/Rtools/")
And I get the following output:
Installing package into ‘C:~/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://cran.r-project.org/bin/windows/Rtools/bin/windows/contrib/3.0
Warning message:
package ‘Rtools’ is not available (for R version 3.0.2)
I would appreciate any help that's out there to get Rtools onto my machine so I can call the devtools library. Thank you!
Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/

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.

Error installing SPEI package in R

I am trying to install SPEI in Rstudio, version 1.1.414, running on Windows 7. However, I get the following error message in the console:
install.packages("SPEI")
Installing package into ‘C:/Users/xxx/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘goftest’ is not available
also installing the dependency ‘lmomco’
It appears that this "goftest" package is unavailable, so how can I proceed?
Thank you.
'goftest' documentation says
Depends R (>= 3.3)
so probably you should upgrade to a later version of R to use the package: https://cran.r-project.org/web/packages/goftest/goftest.pdf

Resources