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
0 answers

Installing packages from source in renv

I need to install a package from source in renv. I can install packages from binaries in renv no problem. I can also install packages from both source & binary outside renv no problem. I am doing this within Rstudio The error (below) makes me think…
user3111174
  • 121
  • 1
  • 1
  • 5
1
vote
1 answer

Unable to install RTools with installr, in RStudio

I am working on HPC with RSTudio 4.2.1 and I want to install RTools with the installr package. I was able to install the installr but then, when I run the command install.Rtools() I get the following: Infiniband hardware address can be incorrect!…
geo_dd
  • 283
  • 1
  • 5
  • 22
1
vote
0 answers

rtools42 installation: cannot find make

Yet another question on rtools installation... RStudio: 2022.07.2 Build 576 R: 4.2.1 OS: Windows 10 Enterprise v 21H2 rtools: C:\rtools42 When I look for rtools, I get: R> Sys.which("make") make "" Sys.getenv("PATH") [1]…
Thomas Speidel
  • 1,369
  • 1
  • 14
  • 26
1
vote
0 answers

installing R Markdown- cannot knit to PDF, LaTeX error

I am trying to knit an R Markdown in a new install. First, in RStudio I went to File > New File > R Markdown and created one with PDF output format. That resulted in an Error in the render tab: Error: LaTeX failed to compile R-Markdown-sample.tex.…
1
vote
0 answers

Why does installing Rtools42 generate Windows setup error?

When installing Rtools version 4.2 on Windows 10, I get a pop-up window with the following message at the end of the installation process: Unable to execute file: C:\WINDOWS\system32\cmd.exe CreateProcess failed;code 2. The system cannot find the…
kevin
  • 11
  • 1
1
vote
1 answer

Type error : Cannot read property 'python' of null

I have installed the recent R version 4.2.1, rtools version 42 and recent R Studio version. But after installing all these in my system. When I am trying to open the new project, it will show the following error, Type error: Cannot read property…
KABILAN
  • 73
  • 7
1
vote
0 answers

Downloading RTools?

Whenever I try to install packages it says I need to install RTools. I have installed it, and it is located on my desktop, in my documents, and in an R folder 4.1. Yet my computer is still saying it is not installed. I'm on a work computer. I've…
jay
  • 47
  • 3
1
vote
1 answer

Trying to install R systematically across 200 machines, sometimes RTools is required separately, other times it is not. Why?

I am trying to onboard a team of 200 people onto a tool that uses R to move data from Excel to a database. I walk the team through the following steps: Download R from the closest cran mirror and install in program files Download R studio and…
SIE_Vict0ria
  • 174
  • 1
  • 10
1
vote
0 answers

Linker hangs when compiling a simple eigen3 program on Win10

I am using the build tools provided by Rtools. gcc version 8.3.0 x86_64-w64-mingw32 (Built by Jeronen for the R-project) GNU ld version 2.33.1 eigen version 3.4.0 I have been testing various functions of the eigen package, and when I calculated the…
hyena
  • 318
  • 1
  • 9
1
vote
0 answers

How can I setup my computer to use RTools in RStudio to build packages

I know, the first thing someone is going to say is that this has been solved, there are a zillion links in SO. Link to that solution and I will try it before stating that it does not work. Fairly certain I have tried to ask this before. Tried: …
Harlan Nelson
  • 1,394
  • 1
  • 10
  • 22
1
vote
0 answers

How to avoid 'Font shape undefined' problems when checking an R package?

I am trying to publish my first R package. I run the R CMD CHECK command and managed to clear all warnings and notes except the one saying: LaTeX errors when creating PDF version. This typically indicates Rd problems. I checked the LaTex log file…
1
vote
0 answers

g++ not found when using install_github

I am trying to install an r-package via github via devtools::install_github('package_name') I get the following error: "sh: g++ not found" and "ERROR: compilation failed for package 'package_name' " Question: What do I need to do in order to…
Riktros
  • 21
  • 1
1
vote
0 answers

R is unable to detect Rtools

I recently updated to R version 4.0.5. I have tools installed in C:/rtools40 However, each time I run install.packages("rJava") I get the following: WARNING: Rtools is required to build R packages but is not currently installed. Please download and…
Pragyaditya Das
  • 1,648
  • 6
  • 25
  • 44
1
vote
1 answer

Failure to install tidyverse due to rtools40: No such file or directory

I am using Windows. I just updated R to version 4.0.4. I tried to install tidyverse. After submitting install.packages("tidyverse") A lot of packages were downloaded. During this process, this showed up in my console There is a binary version…
Peter Flom
  • 2,008
  • 4
  • 22
  • 35
1
vote
2 answers

Sys.which("make") empty although Rtools is in PATH

I have completely uninstalled R, RStudio, and RTools and removed all folders (as described here); then re-installed R (4.0.4), RTools (4.0 x86), and RStudio (1.4.1106). I have added the RTools folder to the path (Sys.getenv("PATH") # [1]…
Ivo
  • 3,890
  • 5
  • 22
  • 53