Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

R workspace keep empty when used in VScode

未关闭
#1,608 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
32/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
r, vscode

调研方向

使用提供的 settings.json、R 环境和 dataframe 示例重现空的工作区区域。首先检查启用 r.workspaceViewer.removeHiddenItems 和 r.workspaceViewer.showObjectSize 时,R 工作区查看器是否会接收对象。完成标准是创建的 dataframe 出现在 VS Code 工作区查看器中,并记录相关的设置行为。

由索引模型根据 Issue 内容生成。

描述

needs information

I tried to build R environment in VScode. But the workspace region still showed nothing when I created R dataframe.

What I've done:
I created a r_env environment on Linux server for R analysis. I've installed R packages including httpgd, languageserver and radian. The versions are as below:
r-base 4.4.3 h9c32bc2_0 conda-forge
r-httpgd 2.0.4 r44h93ab643_0 conda-forge
radian 0.6.13 pypi_0 pypi
packageVersion('languageserver')
[1] ‘0.3.16’

My settings.json is as below:
{
"r.alwaysUseActiveTerminal": true,
"r.bracketedPaste": true,
"r.rterm.option": [
"--r-binary=/mnt/data/userdata/zhangliyin/anaconda3/envs/r_env/bin/R",
"--no-site-file"
],
"r.plot.useHttpgd": true,
"r.rterm.linux": "/mnt/data/userdata/zhangliyin/anaconda3/envs/r_env/bin/radian",
"r.rpath.linux": "/mnt/data/userdata/zhangliyin/anaconda3/envs/r_env/bin/R",
"r.workspaceViewer.removeHiddenItems": true,
"r.workspaceViewer.showObjectSize": true
}

I read some of similar issues and tried mentioned solutions, but the problem still remains. I would really appreciate your help! Thanks a lot!
Image

主要语言
TypeScript
星标
1.2k
派生
139
平均合并
23 小时 31 分钟
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

REditorSupport/vscode-R 的其他 Issue

查看 REditorSupport/vscode-R 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。