Updating packages fails with error message: “Updating loaded packages”

Does it work for you in R, but not in RStudio? (see FAQ below for disambiguation)