I am suddenly getting the above error when starting RStudio. I have tried googling but found nothing of help. I am very inexperienced in both R and RStudio use, but did think to start R on its own not through RStudio and the error message does not appear so I am assuming this is somehow related to RStudio. Below is what prints to the console when starting RStudio before loading any packages or running any code. Thank you in advance for any help you can offer to a newbie.
R version 3.6.0 (2019-04-26) -- "Planting of a Tree"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
Error in doc_namespaces(doc) : external pointer is not valid