
(Thanks for letting me know the Rtools is not a package) I found the site that helps me to check if I can use Rtools in R. It would be helpful if you give me a comment about this problem.

I cannot understand that "Rtools is not available for R version 3.4.3" because it worked on another computer a couple of days ago. Package ‘Rtools’ is not available (for R version 3.4.3) Installing package into ‘C:/Users/Ellie/Documents/R/win-library/3.4’ Finally, in the ‘.After I finished download Rtools.exe file from cran and unzip it, I've got this warning message when I tried to install the package in Rstudio install.packages("Rtools") Renviron file by entering ‘usethis::edit_r_environ()’ in your R console. You can get a PAT by entering ‘usethis::browse_github_pat()’ in your R console and following the instructions.


Now close R and RStudio and try the ‘Sys.which’ command again (see above).

You can do this in R by running the following line: writeLines('PATH="$"', con = "~/.Renviron") Renviron in your Documents folder which appends your RTools directory onto your PATH variable. If it returns nothing (an empty text string), you may need to do the following:įor Windows users, add RTools to your PATH variable. If the ‘Sys.which’ command above returns something, you should be fine. Try running the following code: Sys.which("make") # make Step 2: make sure that R can compile source code! (first time only)įor Windows users, you need to make sure that RTools is in your PATH variable.įor both Windows and Mac users, first check to see if R already knows how to compile from source.
