Thanks for your response;although am still facing the same issue.Error I get at the end is Try removing ‘C:\Program Files\R\R-4.0.2\library/00LOCK’
In addition: Warning message:
In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Program Files\R\R-4.0.2\library\00LOCK\backports\libs\x64\backports.dll to C:\Program Files\R\R-4.0.2\library\backports\libs\x64\backports.dll: Permission denied
and then again as soon as I try to bring Hmisc package over the session via library() command. I get the following issue
library(Hmisc)
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2
Error: package or namespace load failed for ‘Hmisc’:
package ‘rstudioapi’ was installed before R 4.0.0: please re-install it