Running R from Mac OSX terminal

后端 未结 4 1090
情深已故
情深已故 2021-02-05 21:04

I\'ve searched the web, and I\'m still unclear on how to run R from the Mac terminal. I have Rstudio and the standalone R app installed. I thought I could just type "R&qu

4条回答
  •  無奈伤痛
    2021-02-05 21:12

    An easy way to open RStudio with admin privilege on macOS:

    1. Go to Applications, then right click on RStudio
    2. Select "Show Package Contents"
    3. Go to Contents/MacOS
    4. Now open terminal(in bash mode). Type sudo and drag the RStudio.exec into terminal and press on ENTER

    Now RStudio will have admin access!

提交回复
热议问题