79261346

Date: 2024-12-07 20:28:14
Score: 1
Natty:
Report link

This blog post (https://jimgar.github.io/posts/vs-code-macos-r/post.html) presents a solution that resolved the '--nosave', '--no-restore', '--r-binary' error on my machine (mac) by adding an additional r.rterm.option list:

{
  "r.bracketedPaste": true,
  "r.rpath.mac": "/usr/local/bin/R",
  "r.rterm.mac": "/Library/Frameworks/Python.framework/Versions/3.11/bin/radian",
  "r.rterm.option": [
    "--no-save",
    "--no-restore",
    "--r-binary=/usr/local/bin/R"
  ]
}

The path for r.rterm.mac can be found by running which radian in the terminal. Similarly, the path for r.rpath.mac can be found by with which R.

Reasons:
  • Blacklisted phrase (1): This blog
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ben