I installed R for Windows 4.1.1 and RStudio version 1.4.1717 successfully.
However, when I pressed 'Install Packages..." at the tab "Tools", the following window popped up. The message in the window is "Would you like to create a personal library 'C:/Users/Wong's PC/OneDrive/??/R/win-library/4.1' to install packages into?", and there "Yes" and "No" button. After I clicked the "Yes" button, the same window popped up again. If I clicked the "No" button, another window popped up with message "Unable to install packages (default library 'C:/Program Files/R/R 4.1.1/library' is not writeable)"
I'm using Chinese Windows 10, and I chose English version while installing R.
It seems that the default value of "Install to library" in "Install Packages" changed, can I change back the value in "Install to library" to default? What can I do to install package?