RStudio not finding RTools
I have sorted the problem in this way, partly guided by the comments on the question at:
Rtools not being detected by R
Given that devtools::find_rtools()
returns TRUE
and the check at the end of this webpage using Rcpp
(https://thecoatlessprofessor.com/programming/installing-rtools-for-compiled-code-via-rcpp/) works:
Try Sys.which("ls.exe")
and Sys.which("gcc.exe")
. The former should return a path, but the latter may be empty, which is the problem.
I then found another copy of gcc.exe
(in my case it there was one at C:\Rtools\mingw_64\bin
, which is a bit maddening) and copied it into C:\Rtools\bin
, which is where RStudio seems to want it. That is where ls.exe
was found using the Sys.which
. That solved the problem for me.
Cannot install packages to R after brew install
My problem was that I had a few stray python3 config files floating around after a non-brew install of python3. I removed python3 and reinstalled with brew.
My recommendation to users having the same problem is to run brew doctor
. If you are having the same problem I was, your python3 config files will be displayed as issues, and you can uninstall python3 and reinstall it with brew install python3
.
I then had a few dependencies I had to work through, some in R, and some in brew.
@comfort eagle 's suggestion of using install_github()
after installing and importing devtools
was also helpful.
Rcpp, Rtools, and cygwin: failing to install Rcpp
I was getting frustrated dealing with the same errors. In the Cygwin installation 'Select Packages' window, search for each of these libraries and install them. For example: pcre, lzma, bz2, ... I was finally able to compile after installing all of these.
Related Topics
Adding Prefix or Suffix to Most Data.Frame Variable Names in Piped R Workflow
How to Access Dimensions of Labels Plotted by 'Geom_Text' in 'Ggplot2'
List Members Can Be Accessed with Partial Name? Is This a Feature
Remove "Showing 1 to N of N Entries" Shiny Dt
Calculating a Distance Matrix by Dtw
Partially Read Really Large CSV.Gz in R Using Vroom
Dplyr/Rlang: Parse_Expr with Multiple Expressions
Use an Image as Area Fill in an R Plot
Find Locations Within Certain Lat/Lon Distance in R
How to One-Hot-Encode Factor Variables with Data.Table
Index Unique Values in Data.Table
R Shiny, How to Make Datatable React to Checkboxes in Datatable