Questions tagged [rtools]

use this tag for questions related to rtools for R and Windows

Rtools provides a toolchain for Windows platform that work well with R. It mainly includes GNU make, gcc compiler, and other utilities commonly used on UNIX-alike platforms.

158 questions
3
votes
0 answers

"Error: Couldn't find a table" when installing Rtools

I am trying to install Rtools using the following code: install.Rtools(choose_version = TRUE, check = FALSE, GUI = TRUE, page_with_download_url =…
Kellum TJ
  • 31
  • 1
3
votes
1 answer

Warning message: 'c:/Rtools/mingw_/bin/g++' not found

When I try to use RStan (which needs RTools to run) in R, I get the following warning message: Warning message: In system(paste(CXX, ARGS), ignore.stdout = TRUE, ignore.stderr = TRUE) : 'c:/Rtools/mingw_/bin/g++' not found But, when I check in…
Anthony
  • 377
  • 2
  • 6
  • 13
3
votes
1 answer

Rtools not found by R when installing packages from CRAN

When install any new package I get errors saying Rtools is not found. I followed the manual install instructions for Rtools but still get the same error message. > install.packages("phyloseq") WARNING: Rtools is required to build R packages but is…
RMM
  • 313
  • 2
  • 11
3
votes
0 answers

Problem with installing Rtools: cannot locate the file in PATH

I'm trying to download the package "Seurat" in R, the package is installed and it's now in my list of packages. ** testing if installed package keeps a record of temporary installation path * DONE (patchwork) The downloaded source packages are in …
Debutant
  • 355
  • 5
  • 17
3
votes
1 answer

object ‘wrap_plots’ is not exported by 'namespace:patchwork'

I'm trying to download the package "Seurat" in R, the package is installed and it's now in my list of packages. ** testing if installed package keeps a record of temporary installation path * DONE (patchwork) The downloaded source packages are in …
Debutant
  • 355
  • 5
  • 17
3
votes
2 answers

How do I configure Rtools40 in Windows 10 with R 4.0.0?

I recently installed R 4.0.0. Along with it, I also installed Rtools40. The CRAN website said I also need to specify path for Rtools make file in the .Renviron file. But when I created the .Renviron file, I cannot use stats package. If .Renviron…
Eva
  • 663
  • 5
  • 13
3
votes
2 answers

Problem installing packages in R "unable to create temporary directory"

I am having problems installing packages in Rstudio, I tried to install "nortest" among others and it keeps saying the following error: > install.packages("nortest") Installing package into ‘C:/Users/meliv/Documents/R/win-library/3.6’ (as ‘lib’ is…
3
votes
2 answers

Can I use the Rcpp code in R without installing Rtools?

The Window HPC server in my lab does not have Rtools, so I've got this message when I sourced the Rcpp code. Warning message: running command 'make -f "C:/PROGRA~1/R/R-32~1.2/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-32~1.2/share/make/winshlib.mk"…
inmybrain
  • 386
  • 3
  • 16
2
votes
1 answer

Building problem of R-devel in Windows 11 and binutils

I'm trying to compile R devel by this advice: Build R with OpenBLAS I use MSYS2 (Rtools 4.3), but now have strange error: -------- Building ../../../bin/x64/Rblas.dll -------- gcc -s -shared -o ../../../bin/x64/Rblas.dll blas00.o…
Dmitriy
  • 847
  • 17
  • 39
2
votes
1 answer

How to deal with install.packages( ) warning "package ‘Rtools’ is not available for this version of R"?

When trying to install Rtools , I get the message below. My R version is 4.1.2. install.packages("Rtools") WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of…
MKro
  • 51
  • 4
2
votes
0 answers

Recover previous value of R environment variable "PATH"

I have R 4.1.2 with RStudio 2021.09.2 on Windows 10 Enterprise on a University network. When I installed Rtools 4.0, I followed forum advice for putting Rtools on the path, including the following console…
batcatcher
  • 33
  • 3
2
votes
1 answer

Trouble with Installing Packages with RTools on Windows

I'm trying to install the markdown package from CRAN in my RStudio version "Spotted Wakerobin" that uses R version 4.2.1, but I get the following error: C:\rtools42\usr\bin\gcc -I"C:/PROGRA~1/R/R-42~1.1/include" -DNDEBUG …
2
votes
1 answer

R-INLA installation fails on R 4.1.1

I need to install R-INLA on R 4.1.1 (Windows 10). I cannot update the R version due to compatibility issues of the newer R installations with other tools I that use. I tried the line: remotes::install_version("INLA",…
somros
  • 21
  • 2
2
votes
0 answers

Old versions of particular R packages (that require rtools compilation) are not installing into my R library

I need to install older versions of certain R packages so that they are compatible with a shiny app I need to run. I have rtools40 installed, and have written the make utils on the path, but I cannot install certain packages from the CRAN…
2
votes
0 answers

Cannot install R packages from source on Windows

I had to reinstall R and Rstudio on my laptop, and since then I am not able to install packages from source. I checked the installation of rtools, and I think it should have worked. > Sys.which("make") make…
1
2
3
10 11