Delete everything inside those listed folders or completely delete those listed folders as well:Ĭ:\Users\%USERNAME%\AppData\Local\rstudioĬ:\Users\%USERNAME%\AppData\Local\RStudio-DesktopĬ:\Users\%USERNAME%\AppData\Local\r-minicondaĬ:\Users\%USERNAME%\AppData\Local\r-reticulateĬ:\Users\%USERNAME%\AppData\Local\? (!!!might be some others in your case!!!)Ĭ:\Users\%USERNAME%\AppData\Roaming\RStudio.
are only example files or folder names to give you rough idea. In my case, Rtmpcx1qAZ, Rtmpk7UXWj, Rscript3d2438240e1.
Specific ones can be various files and folders which can be deleted under this directory related with R and RStudio sessions. Therefore, I have manually deleted following files and folders (they remain there after full uninstallation of R, RStudio and RTools) as well: C:\Users\%USERNAME%\Documents\R\Ĭ:\Users\%USERNAME%\AppData\Local\Temp > only specific ones mentioned below. libPaths() instruction in R to know where R packages are installed. You might navigate there through: Add or remove programs > App & features > On search boxĭelete everything in folders that was shown after running. Uninstall R for Windows, RStudio and RTools from Windows " Programs and Features" menu. "C:/Users/%USERNAME%/Documents/R/win-library/3.6" libPaths() and save the listed directories shown on the RStudio console.
For that reason, I have extended the answer with further steps (which I experienced currently) as below: I have further issues with the previous answer.