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
1
vote
1 answer

packrat::resolve() keeps asking me to install Rtools while it is already installed

I discovered today the very (very) cool packrat R package to make your project reproducible. However, when I use packrat for my project by using packrat::resolve() in Rstudio, the packages that need Rtools trigger a pop-up window asking me to…
FrsLry
  • 348
  • 4
  • 19
1
vote
0 answers

cplexAPI 1.4.0 installiation on R4.0.3

Im trying to install cplexAPI 1.4.0 on R4.0.3. I have followed all the steps as described and have installed cplex 12.10 However I still get the following errors: "C:/Source/rtools40/mingw32/bin/"gcc -I"C:/Source/R/R-40~1.3/include" -DNDEBUG -g…
DGradeci
  • 39
  • 9
1
vote
0 answers

Installed Rtools, R says it is not installed

I've followed the instructions here to a T https://cran.r-project.org/bin/windows/Rtools/ When I run the test on the jsonlite package I still get WARNING: Rtools is required to build R packages but is not currently installed. Please download and…
jarichardson
  • 165
  • 8
1
vote
0 answers

How set new path to the newly Updated RTools40?

After updating R to 4.0.3 and RStudio to the newest version, I have issues with the cointegration of RStudio and RTools described in these questions (before R was 3.6 and RTools 35 and everything worked…
Epo Luusk
  • 37
  • 5
1
vote
1 answer

Error trying to install R package (mirt) from source

I'm trying to install the R package mirt from source, but am receiving errors. I am receiving errors on both PC and Mac. Note that both my PC and Mac are set up to install packages from source, and I have successfully installed packages from source…
itpetersen
  • 1,475
  • 3
  • 13
  • 32
1
vote
1 answer

How to install a source package with c++ code in R windows?

I have an R package with Rcpp code. Builds fine in any linux distribution. The problem is building it in windows. I have the following in my set-up R version 4.0.1 (2020-06-06) Windows 10 Pro version 1903 Rtools 4.0 installed in C:\rtools40 This…
Basil Eric Rabi
  • 313
  • 1
  • 7
1
vote
1 answer

I don't know what Rtools path should be

What should I write on ${PATH}? First, I thought it was the directory where the script I was working on. Second I thought it was the directory where the make or something is. But both were wrong.
송효근
  • 47
  • 5
1
vote
1 answer

Can't install package 'Liszt' (not in CRAN) in R 3.6.3

I want to install a package that is not found in CRAN. Below is a downloadlink to the package. The package makes use of JAGS, of which i have the 64 bit 4.3.0 version of. rjags and r2jags packages are installed. Rtools is connected to the pathway. I…
Stevestingray
  • 399
  • 2
  • 12
1
vote
0 answers

How can I solve the problem between cygwin and my RStudio terminal?

I have installed RStudioand after a few minute i get this message on my terminal board: "0 [main] ls (23240) C:\rtools40\usr\bin\ls.exe: *** fatal error - cygheap base mismatch detected - 0x180331408/0x180316408. This problem is probably due to…
cedrik24
  • 31
  • 7
1
vote
0 answers

Do you know which Rtools version should be installed for R 3.6.3 in windows10?

I already installed Rtools35. But aftering install Rtools35, It continually occurs error in Rstudio. This error is as follow : extension<-ifelse(isWindows, ".dll", ".so")…
user10200750
1
vote
1 answer

Function call built from a custom R package returns the result of an older version of the function

I usually do a standard reprex, SO post, rinse and repeat, but this is a tough one to replicate. I'll try to describe my issue as best as possible. Background I'm trying to build a custom package in R which I called, simply, myTools. The build runs…
Marian Minar
  • 1,344
  • 10
  • 25
1
vote
0 answers

Problems with installing packages in R 3.6.1

I am struggling with my R version (3.6.1). Many packages that I would like to install doesn't work because the message below: install.packages("Rtools") Warning in install.packages : package ‘Rtools’ is not available (for R version 3.6.1) Any…
Rodrigo Dibai
  • 11
  • 1
  • 2
1
vote
1 answer

Warning message installing R packages on RStudio

I have had problems with the latest RStudio-1.2.1335 and RStudio-1.2.5001. When I install a package, either from a .zip file or Online from CRAN, I get a warning message saying "Rtools is required to build R packages..." I am only installing…
Steven Yen
  • 11
  • 3
1
vote
0 answers

Installing *source* package 'Rcpp' error. R is pointing/looking for g++ in the wrong folder

On Windows 10 Education 64bit, I am running R version 3.6.0 with Rtools 3.5.0 in RStudio Version 1.2.1335. I receive the following error when I try to install devtools::install_github("RcppCore/Rcpp") >…
user3553260
  • 691
  • 2
  • 9
  • 21
1
vote
0 answers

ROracle Installation-Unable to load shared objects ROracle.dll

I am trying to install the ROracle package on my Windows 10 64-bit system. R version is Microsoft R Open 3.5.0. I changed the "Path" name in environment variable to "PATH" as suggested by the right answer to this question ROracle installation ::…
KrSid
  • 50
  • 1
  • 8