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

Setup with conda installed R: attaching active Terminal fails

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
anaconda, linux, r, typescript, vscode

調査の方向性

提供された environment.yml と、記載されている r.rpath.linux、r.rterm.linux、r.libPaths の設定を使って失敗を再現し、その後、拡張機能がアクティブなターミナルをどのように接続しているかを調査します。動作を、リンクされている session-watcher と radian の issue と比較します。conda でインストールされた R 環境が、終了コード 1 にならずにそのターミナルを接続できれば完了です。

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

説明

bug

Describe the bug
conda installed packages are not found;
not possible to attach active terminal session.

To Reproduce

Use following environment file to install R

---
name: r
channels:
  - conda-forge
dependencies:
  - r-base
  - r-renv
  - r-languageserver
  - r-httpgd
  - radian

and run

conda create -f environment.yml

to install the environment.

Ensure the settings as mentioned below.

Next clikc on R: (not attached) in the status bar in VSCode and get the error

The terminal process "<path to base>/.conda/envs/r/bin/radian '--no-save', '--no-restore'" terminated with exit code: 1.

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

No

(If applicable) Please attach setting.json

"r.rpath.linux": "<path to base>/.conda/envs/r/bin/R",
"r.rterm.linux": "<path to base>/.conda/envs/r/bin/radian",

"r.libPaths": ["<path to base>/.conda/envs/r/lib/R/library"],

Expected behavior
Terminal should attach

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: macOS 14.2.1 with vscode server on rocky 8.6
  • VSCode Version:1.86.1
  • R Version: 4.3.2
  • vscode-R version: v2.8.2

Additional context
I already tried what is suggested here https://github.com/REditorSupport/vscode-R/wiki/R-Session-watcher#advanced-usage-for-self-managed-r-sessions as mentioned in this issue

EDIT:

There are also following related issues

主要言語
TypeScript
スター
1.2k
フォーク
139
平均マージ
20時間 32分
マージ済み PR(30日)
25

環境構築

はじめの一歩

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

REditorSupport/vscode-R のほかの issue

REditorSupport/vscode-R の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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