LoginSignup
15
14

More than 3 years have passed since last update.

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

Posted at

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

15
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
14