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
0
votes
1 answer

Last Rtools is not identified by Rstudio

I installed the last version of R and Rtools, then the last of Rstudio, but, when I try to install ggplot2, this warning is present WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the…
Pepus
  • 1
0
votes
0 answers

Rtools 4.0 (Rstudio falsely claims it was deleted)

I installed Rtools following the official guide (installing as well as adding the .Renviron file with the PATH). Rstudio, however, doesn't recognise the installation: > devtools::find_rtools() WARNING: Rtools is required to build R packages, but…
wind_2801
  • 131
  • 10
0
votes
0 answers

Issue in installing devtools in R version 4.0

After updating the R version from 3.5 to 4.0 I am facing installation issues with devtools package. Having Rtools 4.0 and RStudio-1.2.5042 downloaded and installed. when I try to install devtools install.packages("devtools") I get this…
0
votes
1 answer

Package failed to compile from *tar.gz using `install.packages()`

I am trying to install the package MGDrivE from its source *tar.gz file (MGDrivE_1.1.0.tar.gz) as found on CRAN. Ultimately I am trying to edit the functions in the directory that is created by unzipping the *tar.gz file, but I want to make sure…
0
votes
2 answers

Can not install AzureStor on Azure DSVM as it will not detect Rtools

I am trying to install AzureStor in order to access Azure storage blobs from an Azure DSVM running RStudio. AzureStor needs Rtools, however I have not been able to install a working version of Rtools that RStudio can connect to. I have tried 2…
Darren
  • 83
  • 7
0
votes
0 answers

Cannot install rtools

I need to install Rtools but I'm not having success. When I run this it works library(devtools) find_rtools() [1] TRUE when I load the library, it also works fine. But when I run my code that needs rtools, I get: Error in sourceCpp(code = code, env…
Hugo Silva
  • 199
  • 9
0
votes
0 answers

Did RTools mess up my ability to run some packages?

I recently installed RTools (windows computer) and now it seems like all of my packages associated with tidyverse (e.g., tidyverse itself, dplyr, ggplot2, etc) no longer will load and can't be installed. I get the following error when I load my R…
user3585829
  • 945
  • 11
  • 24
0
votes
1 answer

Trouble installing Rtools

I'm having issues getting Rtools to function. I've searched around SO and other sites, and still can't get to the bottom of this. I'm using R version 3.6.1, and trying to install Rtools 35. I'm using RStudio 1.0.143, but running the code in R…
0
votes
0 answers

Error 1 occurred building shared library while sourcing cpp code inside R

I need to use some c++ code in order to speed up some computation. In order to do this I need Rtools. I went to : https://cran.r-project.org/bin/windows/Rtools/ and installed the latest stable version (Rtools35.exe (recommended)). Insallation seems…
Marco Fumagalli
  • 2,307
  • 3
  • 23
  • 41
0
votes
1 answer

How to update function code in an R package?

I have created and downloaded an R package using roxygen2 development tools. When I update the source code R files, the documentation updates fine, but the function code itself does not. How do I get the function code to update when I reinstall the…
Isaac Fink
  • 85
  • 8
0
votes
1 answer

R Development Tools do not install properly

I'm attempting to get started with packaging a few scripts I've developed for my personal use using the package development book at http://r-pkgs.had.co.nz/intro.html. I keep running into problems getting the development tools installed, which has…
0
votes
0 answers

When creating a package, how can I make it compatible to older R versions

I am trying to create my own R package. But after I build it (using R version 3.5.1, Rtools 3.5) and try to install it I get this error: package ‘path-to-tar.gz’ is not available (for R version 3.5.1). Can I somewhere determine which versions of R…
KnightofniDK
  • 139
  • 1
  • 1
  • 9
0
votes
1 answer

Rcpp still cannot find Rtools

I have been through every bit of advice I can find and still I cannot get Rcpp to link successfully to Rtools, even though find_rtools() returns TRUE. I am running Windows 7 professional, R version 3.5.1 (2018-07-02) -- "Feather Spray", Rtools35. I…
Bill Amos
  • 21
  • 1
0
votes
1 answer

loading failed in installing R package fdaPDE from github

Good morning, I am trying to install the R package fdaPDE from GitHub repository "NegriLuca/fdaPDE-manifold" via RStudio1.4, using the package devtools. My OS is Windows 10, I am using Rtools35 and R3.5.1. The package has to be compiled from source.…
0
votes
0 answers

Rtools and R 3.5.1 not syncing

I have downloaded the latest versions of R (R-3.5.1) and Rtools (Rtools35) but I cannot get them to sync. I have tried several ways (most of the suggestions from online chats) but still cannot get them to align. I get the below, any ideas? >…
dm4509
  • 1
1 2 3
10
11