Rtools is required to build R packages but is not currently installed

image


Hi how can i evaluate this problem what should i do the error is:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

Installing package into ‘C:/Users/Mephi/OneDrive/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

Did you try

install.packages("Rtools")

Simply follow the instructions you are given.

RTools is a separate software that you have to download and install in your system (not in R). The link for the download is in the warning message you are getting.

i downloaded and installed the rtools and did the necessary process but i have still problem, which is
Sys.which("make")
make
""

when i try to install
install.packages("jsonlite", type = "source")
i got something like that
but when i try to install devtools it seems workd, all the photos are in this printscreen links
its working? i guess or i dont know what should i do i did r4 is writable. and dont know what to do next
there is all the screenshots https://prnt.sc/1033p3j and https://prnt.sc/1033pva

Please do not post screenshots, post the actual console output as formatted code, here is how to do it

https://prnt.sc/1036g2x now i have another problem. what can i do now

the problem is when i try to update packages

update.packages()
Warning: package 'boot' in library 'C:/Program Files/R/R-4.0.4/library' will not be updated
Warning: package 'cluster' in library 'C:/Program Files/R/R-4.0.4/library' will not be updated
Warning: package 'MASS' in library 'C:/Program Files/R/R-4.0.4/library' will not be updated
Warning: package 'mgcv' in library 'C:/Program Files/R/R-4.0.4/library' will not be updated
what can i do for this and

Some R packages do not update with update.packages() - Stack Overflow

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.