Error in R and Rstudio Installation

Very unlikely, I think it is just a misconfiguration. Have you tried resetting RStudio's state and updating your packages with checkBuilt = TRUE? It also might be worthy to check your Rprofile startup files, just in case.