Resolving ‘Unable to move temporary installation’ in R
R is notorious for its difficult installations and upgrades (although I have tried to make upgrading easier). Transferring packages between installations can be a challenge, but another problem can arise when the installations of libraries are too fast. If this happens, an R user will start noticing an error: “Unable to move temporary installation”.
To overcome this problem, type the following command into R:
Go to Line 140 and change