vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

Issue launching extension ("spawn EINVAL")

Open b-rhodes opened this issue 6 months ago • 1 comments

Describe the bug Whenever I open VSCode, I get a little panel popping up saying "Help panel unavailable", and then when I look at the extension runtime status, it has:

Uncaught Errors (1)

spawn EINVAL

To Reproduce Steps to reproduce the behavior:

  1. Open VSCode
  2. Click on 'extensions'
  3. Scroll down to 'R'
  4. Click on 'FEATURES' tab
  5. Click on 'Runtime Status'
  6. See the error

Can you fix this issue by yourself? (We appreciate the help)

No

    "r.plot.useHttpgd": true,
    "r.libPaths": [
        "C:\\Users\\<username>\\.vscode-R\\renv\\library\\R-4.3\\x86_64-w64-mingw32",
        "C:\\Users\\<username>\\.vscode-R\\renv\\library\\R-4.4\\x86_64-w64-mingw32",
        "C:\\Users\\<username>\\AppData\\Local\\R\\win-library\\4.3",
        "C:\\Users\\<username>\\AppData\\Local\\R\\win-library\\4.4"
    ],
    "r.lsp.debug": true,
    "r.lsp.diagnostics": true,
    "r.rpath.windows":"C:\\Program Files\\R\\bin\\R.bat",
    "r.rterm.option": [
        "--no-save"
    ],
    "r.rterm.windows": "C:\\Users\\<username>\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\Scripts\\radian.exe",
    "r.useRenvLibPath": true,
    "shiny.r.port": 8080

Environment (please complete the following information):

  • OS: Windows 11
  • VSCode Version: 1.92.1
  • R Version: 4.4.0
  • vscode-R version: 2.8.4

Additional context I'm using Rig to allow for changing R versions

b-rhodes avatar Aug 15 '24 21:08 b-rhodes