Error in doc_namespaces(doc) : external pointer is not valid

I am receiving this message now when starting up rstudio on Windows 10.

If I try to load a library, such as library(tidyverse), I get this message:

Error: package or namespace load failed for ‘tidyverse’:
.onLoad failed in loadNamespace() for 'broom', details:
call: loadNamespace(name)
error: there is no package called ‘backports’

I believe that I started having these issues after trying to update some packages and, perhaps, because of choosing "no" when getting the message about updating a package that was already loaded.

How do I get things working again?

Thanks for any help!

I still have the "Error in doc_namespaces(doc) : external pointer is not valid" in one of my workspaces, but seem to have fixed the package issue in my description.

I suppose that I could create a new workspace, but is there anything I can do to get rid of the error in the current workspace? Is it something I can safely ignore?


I get exactly the same.

For me the solution was installing the package "backports".


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.