Startup problems with Matrix package

When I start up, it tries to load a package Matrix, and the following error message shows itself, whereafter everything stops:

Loading required package: Matrix
Error: package or namespace load failed for ‘Matrix’ in vapply(cntns, function(x) x@distance, 1):
reached elapsed time limit


Welcome to the RStudio community!

Could you elaborate a bit more on the issue? Does this happen immediately when you open RStudio (before you run any code) or only at runtime. Does it happen in one particular file or project (close all projects, or create a new one to see if there is a difference).

If it is code related, please create a reprex to show us how to recreate the problem. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:


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