title: fix() error with XQuartz cannot be solved
body: <p>I was following this extremely easy example from ISLR book, </p>
  
  <p><a href="https://i.stack.imgur.com/w8BF9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w8BF9.png" alt="enter image description here"></a></p>
  
  <p>I used fix() for the first time (I usually just used head()), and I got the first error... I followed the error and went to xquartz.macosforge.org and installed it, and then I got the second error "X11 dataentry cannot be loaded"</p>
  
  <p>I thought fix() was part of base... why I am I getting two different errors? Why is XQuartz needed for an R base function?</p>
  
  <p>I restarted r studio and now I get:
  <a href="https://i.stack.imgur.com/sze8t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sze8t.png" alt="enter image description here"></a></p>