Setup with conda installed R: attaching active Terminal fails
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 28/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- anaconda, linux, r, typescript, vscode
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Tái hiện lỗi bằng environment.yml được cung cấp và các cài đặt r.rpath.linux, r.rterm.linux và r.libPaths được liệt kê, sau đó kiểm tra cách extension gắn terminal đang hoạt động. So sánh hành vi này với các issue session-watcher và radian được liên kết. Hoàn tất khi môi trường R được cài đặt bằng conda có thể gắn terminal của nó mà không có exit code 1.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 1.2k
- Fork
- 139
- Merge trung bình
- 20 giờ 32 phút
- Pull request đã merge (30 ngày)
- 25
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của REditorSupport/vscode-R
-
(feat) Additional Arrow supportĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
REditorSupport/vscode-R#1785 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
REditorSupport/vscode-R#1687 · 4 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
REditorSupport/vscode-R#1791 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Rewrite issue templatesCó thể đã có người làm @eitsupi đã nhận 1 ngày trước. Đang mở
REditorSupport/vscode-R#1783 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature-request
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
REditorSupport/vscode-R#1780 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của REditorSupport/vscode-R
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
supabase/agent-skills#611 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
polka-codes/test#345 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
GoogleChromeLabs/project-sesame#217 ·
Maintainer thường phản hồi trong vòng 12 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
solana-foundation/solana-com#2202 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100