0

I installed R via the commands at this website. Running R in terminal works properly; running which R returns /usr/bin/R. VS code cannot find R despite the path for rterm and rpath being given explicitly in the settings (near the bottom):

{
    "[python]": {
        "editor.formatOnType": true
    },
    "python.defaultInterpreterPath": "/mnt/d0114ba0-eab6-4e71-9cad-29812cb6c730/AIFTO/YOLO_Testing/test_videos/manim_vids/bin/python3",
    "r.dependencyChecks": true,
    "files.associations": {
        "*.rmd": "markdown"
    },
    "r.rterm.linux": "/usr/bin/R",
    "r.rpath.linux": "/usr/bin/R"
}

Whenever I try to run a script I get the error: Cannot find R client at /usr/bin/R. Please check r.rterm setting.

I'm using a 2015 macbook pro running Pop!_OS.

  • Not sure why do you work with python if you need r? Anyway, the most correct instruction on R in VSCode: https://code.visualstudio.com/docs/languages/r – White Owl Mar 21 '23 at 18:48

0 Answers0