16
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

【参考】

16
15
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
16
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?