Extension behaving oddly when file is part of VSCode workspace
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- r, typescript, vscode
- 領域
- devtools
調査の方向性
ソースファイル、テスト、エントリーポイントのいずれも指定されていません。まず、R 4.4.0 と vscode-R 2.8.3 を使用する Windows 10 の VS Code ワークスペースでこの挙動を再現し、次に同じ .RData ファイルの読み込みと View(df) の実行をワークスペース外で比較してください。Global Environment に内容が表示され、どちらの場合も VS Code でデータフレームビューアーが開けば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When I open my R files as part of a workspace file that I have, I can load a previous image, but nothing is populated under global Environment. When I run View(df) the R data frame Viewer pops up and not the one in VS Code.
If I repeat the same steps but outside of a Workspace then the extension behaves as normal.
To Reproduce
Steps to reproduce the behavior:
- Create a VS Workspace or use an existing one.
- Add an R file.
- Click on the R Extension and under Select the "Load Workspace". Select an existing *.rdata that contains data.
- Once done loading check under Global Environment. It is empty.
- Run View(df) to open any data frame. Default R viewer (from the normal R environment) should open.
- Close the Work space and open the same R file as in Step 2.
- Click on the R Extension and under Select "Load Workspace". Select an existing *.rdata that contains data.
- Once done loading check under Global Environment, it should be populated with the data.
- Run View(df) to open any data frame, it will now open in VS Code as per normal
Can you fix this issue by yourself? (We appreciate the help)
No
// R.exe path for windows
"r.rterm.windows": "",
// R command line options (i.e: --vanilla)
"r.rterm.option": [],
// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",
// Keeping focus when running
"r.source.focus": "editor",
// Use active terminal for all commands, rather than creating a new R terminal
"r.alwaysUseActiveTerminal": false,
// Use bracketed paste mode
"r.bracketedPaste": false,
// Enable R session watcher
"r.sessionWatcher": true,
// Delay in milliseconds before sending each line to rterm (only applies if r.bracketedPaste is false)
"r.rtermSendDelay": 8,
**Expected behavior**
The expectation is that when running a file in a VS workspace or outside a VS Workspace it should behave the same. Running View(df) should open the data frame in VS Code. When loading an *.Rdata, the Global Environment should be populated with the needed information.
Before the current update this was the behavior.
**Screenshots**
**Environment (please complete the following information):**
- OS: Windows 10
- VSCode Version: 1.89.1
- R Version: 4.4.0
- vscode-R version: 2.8.3
**Additional context**
I recently update to R 4.4.0 (earlier this week I think) and the extension was still working as normal.
- 主要言語
- TypeScript
- スター
- 1.2k
- フォーク
- 139
- 平均マージ
- 22時間
- マージ済み PR(30日)
- 23
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
REditorSupport/vscode-R のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
REditorSupport/vscode-R#1687 · コメント 4 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
feature-request
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
REditorSupport/vscode-R#1780 ·
メンテナーはふだん 1 日以内に返信
-
REditorSupport/vscode-R#1772 · コメント 4 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
feature-request
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
REditorSupport/vscode-R#1763 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
REditorSupport/vscode-R#1755 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
REditorSupport/vscode-R の issue をすべて見る
似ている issue
-
resources
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
railmapgen/rmg-palette#2445 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
danielmiessler/LifeOS#2242 ·
メンテナーはふだん 5 日以内に返信
-
good first issue hacktoberfest help wanted translation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/appduct#129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100