Install Rtools on R version 3.0.2 - r

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/

Related

Error installing package RandomFields from Package Archive in R

I'm trying to install the package georob, which is no longer on CRAN. In order to install georob, I need first to install the package RandomFields which is no longer on CRAN neither. Therefore, I downloaded the file RandomFields_3.3.tar.gz from CRAN Archive and then tried to install the package RandomFields with the following command in R:
install.packages(pkgs = "C:/documents/RandomFields_3.3.tar.gz", type="source", repos=NULL)
When I do this I get the following error:
make: *** [C:/PROGRA~1/R/R-42~1.0/etc/x64/Makeconf:257: brownresnick.o] Error 1
ERROR: compilation failed for package 'RandomFields'
My installations are as follows:
Windows 10 Home, 64-bit
R version 4.2.0
R Studio 2022.07.2+576
Rtools42 for windows
Any idea how I can install georob and/or RandomFields?
Thank you very much!

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/

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/

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.

Resources