0

I tried looking on stack for some guides to this issue, but all I found was this, which 1) isn't helpful given my libpath shows my packages are in one location and 2) I dont get the same error message, just an instant crash:

Why is R crashing when I try to import certain packages?

When I load pretty much every common package I use, there is no issue and R works just fine. However, when I use library(matlib), it takes a second to load and instantly crashes:

enter image description here

I've tried removing and reinstalling the package, but that has done nothing. This is also a brand new reinstall of RStudio (4.2.0), which was already causing issues with the text format of my scripts until I changed them. Not sure if that is helpful information, but it would be great to get some advice.

Shawn Hemelstrand
  • 2,676
  • 4
  • 17
  • 30

1 Answers1

0

Per user2554330's suggestion, I simply ran this code in the following order:

options(rgl.debug = TRUE)
library(matlib)

Problem was fixed immediately. Thanks for the help.

Shawn Hemelstrand
  • 2,676
  • 4
  • 17
  • 30