I use Rstudio.
I got an error while using Rstudio. It\'s the same error as in the attached image. I uninstalled Rtools, Rstudio and R and then reinstalled