The thread here is a helpful description of how to change the default library path for the R package if it cannot - or you do not want it to - reside in the default directory assigned during the R installation. Setting R_LIBS_USER in configuration file .Renviron works fine for me under Windows 10.
However, what do you do if nou need to have two different versions of R installed on a local machine (in my case, 3.2 and 4.x)? They need to have different user libraries, don't they? How can I set the default library path in Windwos 10 separately for each R version?