Firstly, just to clarify the distinction between R and RStudio (Differentiating R from RStudio)
When do these errors appear? And what version of R appears when you open just R-application (not RStudio)?
Sometimes, system information is helpful too:
Some system Information could be useful as well
#### System Information:
- RStudio Edition: (Desktop or Server)
- RStudio Version:
- OS Version:
- R Version:
#### Also:
<!-- Depending on your issue, the following may be useful /-->
<!-- If a section isn't relevant or you can't collect it just delete that section below /-->
- RStudio diagnostics report: <!--see rstd.io/support-diagnostics-report /-->
- Your `sessionInfo()`:
- RStudio crash report: <!-- rstd.io/support-crash-report /-->
- RStudio application log files: <!-- rstd.io/support-ide-log-files /-->
The first suggestion I'd make is to
- install the latest version of R (Given your file paths, it looks like you are on windows: https://cran.r-project.org/bin/windows/base/)
- and uninstall and reinstall RStudio: https://www.rstudio.com/products/rstudio/download/