REditorSupport / REditorSupport/vscode-R

A chaque fois j'essaie d'exécuter mon programme R, j'obtient un message d'erreur me disant que : Impossible de trouver le client R à "C:\NProgram Files\R\R-4.3.1\Nlibrary\Ntcltk\Nexec",C:\NProgram Files\R\R-4.3.1\Nbin\Nx64. Veuillez vérifier le réglage de r.rterm. et à chaque fois que copie le chemin de la terminal dans les paramètres et celui de l'exécutable aussi dans son chemin correspondant, je ne trouve que d'erreur.

Open
#1,383 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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

Yes / No

(If yes,) can we assist you with anything?

(If applicable) Please attach setting.json

// R.exe path for windows
"r.rterm.windows": "",

// R path for Mac OS X
"r.rterm.mac": "/usr/local/bin/R",

// R path for Linux
"r.rterm.linux": "/usr/bin/R",

// R command line options (i.e: --vanilla)
"r.rterm.option": [],

// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",

// Keeping focus when running
"r.source.focus": "editor",

// Use active terminal for all commands, rather than creating a new R terminal
"r.alwaysUseActiveTerminal": false,

// Use bracketed paste mode
"r.bracketedPaste": false,

// Enable R session watcher
"r.sessionWatcher": true,

// Delay in milliseconds before sending each line to rterm (only applies if r.bracketedPaste is false)
"r.rtermSendDelay": 8,

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
You can show the keyboard contents by pressing F1 and Developer: toggle screencast mode

Environment (please complete the following information):

  • OS: [e.g. Windows, macOS, Linux]
  • VSCode Version: [e.g. 1.42.0]
  • R Version: [e.g. 3.6.2]
  • vscode-R version: [e.g. 1.2.2]

Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the Windows r.rterm.windows setting against the reported R installation path and reproduce the error with the relevant R, VS Code, and vscode-R versions. Done means the extension can locate the R client and execute the user's program without the path error; no repository file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.