Help us understand the problem. What is going on with this article?

vscodeでRをいい感じで使えるようにする

Windows 10上のvscodeでRをいい感じに使うための設定メモ.

(1) Rでlanguageserverをインストール

install.packages("languageserver")

(2) vscodeでRエクステンションをインストール
(3) vscodeでR LSP Clientをインストール
(4) pythonでradianをインストール

pip install -U radian

(5) vscodeのsettings.jsonに以下を追加.

    "r.bracketedPaste": true,
    "r.rterm.windows": "*Path to radian.exe*",
    "r.lsp.path": "*Path to R.exe*",
    "r.lsp.debug": true,
    "r.lsp.diagnostics": true,
    "r.rterm.option": [""],
    "r.sessionWatcher": true,

image.png

【参考】
- vscode R extension by Yuki Ueda
- R LSP Client
- randy3k/radian
- A fresh start for R in VSCode

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away