I do not know that how it happened, but R started to install packages into a folder which exist in microsoft onedrive. I already reinstalled R and RStudio, but it couldnt solve the issue, that packages will be downloaded into that folder. Is there a way to solve this?