Reputation: 1
I am seeing the following error when trying to install the tidyverse
and ggplot2
R package
Error in install.packages : cannot open file 'C:/Users/dell user/Documents/R/win-library/4.1/filebad038967c5e/rlang/help/figures/rlang.png': Permission denied
.
How can I go around this?
Upvotes: 0
Views: 594
Reputation: 714
It happens because the path where you install them is restricted. To fix this issue:
Windows Defender Ransomware Protection
can cause issues. Add rsession.exe
as an exception.Upvotes: 0