Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

languageserver and help page viewer not working in windows10 and miniforge environment

オープン
#648 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
r, vscode

調査の方向性

リポジトリのファイルやテストは指定されていません。まず、報告された Windows 10 Miniforge 環境で R Language Server の終了コードと失敗したヘルプページ要求を再現し、次に設定された R 実行ファイル、jsonlite/languageserver の読み込み、ヘルプパスを調査してください。サーバーが実行し続け、hover による関数検索が機能し、Home と ?read.table の両方のヘルプページが開けば完了です。

索引モデルが issue の本文から書いたものです。

説明

languageserver and help page viewer not working:

the OUTPUT panel message when I open vscode workspace:
R Language Server (21456) started
R Language Server (21456) exited with exit code 3221225781

I clicked "HELP PAGES>>Home" button:
Couldn't show help for path: doc/html/index.html
I clicked "Clear Cache & Restart Help Server", it still didn't work.

R:Run Selection/Line in R Interactive Terminal is OK, but when I run "?read.table", the message:
Couldn't show help for path: /library/utils/html/read.table.html

the message when I moved the mouse cursor over an R function:
Failed to get list of R functions. Make sure that jsonlite is installed and r.rpath.windows points to a valid R executable.
I've set the correct r.rpath.windows and jsonlite, languageserver is installed, but the R package jsonlite wasn't auto loaded when I started the R Interactive Terminal.

Some information:
Vscode Version: 1.85.1
OS: Windows_NT x64 10.0.19045
R Extension version: v2.8.2
conda 23.3.1
mamba 1.4.2
conda path: D:\miniforge3\condabin\conda.bat
R path: D:\miniforge3\envs\r\lib\R\bin\x64\R.exe, D:\miniforge3\envs\r\Scripts\R.exe

workspace setting:
"settings": {
"Command Prompt": {
"path": [
"${env:windir}\Sysnative\cmd.exe",
"${env:windir}\System32\cmd.exe"
],
"args": ["/K", "D:\miniforge3\Scripts\activate.bat","r"],
"icon": "terminal-cmd"
},
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"terminal.integrated.env.windows": { "PATH":"D:\miniforge3\envs\r;D:\miniforge3\envs\r\Scripts;D:\miniforge3\envs\r\Library\bin;D:\miniforge3\envs\r\Library\mingw-w64\bin;D:\miniforge3\envs\r\lib\R\bin\x64"
},
"python.defaultInterpreterPath": "D:\miniforge3\envs\py\python.exe",
"r.rterm.windows": "D:\miniforge3\envs\r\lib\R\bin\R.exe",
"r.rpath.windows": "D:\miniforge3\envs\r\lib\R\bin\R.exe",
"r.lsp.diagnostics": false,
"r.lsp.promptToInstall": false,
"r.plot.useHttpgd": true,
"r.libPaths": [
"D:\miniforge3\envs\r\lib\R\library",
],
"r.rterm.option": [
"--no-save",
"--no-restore",
"--r-binary=D:\miniforge3\envs\r\lib\R\bin\R.exe"
],
}

Can someone help?
Thank you very much~

主要言語
R
スター
675
フォーク
118
平均マージ
1日 11時間
マージ済み PR(30日)
11

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

REditorSupport/languageserver のほかの issue

REditorSupport/languageserver の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。