Support launching Shiny apps via the run button in VS Code
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- r, typescript, vscode
研究方向
從目前執行 source("app.R", encoding = "UTF-8") 的 VS Code 執行按鈕路徑開始,並將其與所連結的 pyshiny-vscode extension 的 Shiny 啟動行為進行比較。完成標準是:可以透過執行按鈕的「Run shiny app」動作啟動一個 app.R Shiny 範例,而不必手動執行 runApp('app.R')。
由索引模型根據 Issue 內容生成。
描述
Is your feature request related to a problem? Please describe.
When I try to run a shiny application by clicking the Play/Run button, VS Code opens the R console and executes the line:
source("path/to/app.R", encoding = "UTF-8")
However, this does not actually run the shiny app (I tried from a standalone terminal too with the same result). Instead, it seems like I need to type runApp(path/toapp.R') manually into the VS Code terminal to actually launch the shiny application.
I tried this with a simple skeleton in a file called app.R.
library(shiny)
ui <- fluidPage(
"Hello, world!"
)
server <- function(input, output, session) {}
shinyApp(ui, server)
Describe the solution you'd like
Something similar to the extension for Shiny for Python (and RStudio), where there is an option to added to the run button which says "Run shiny app".
Describe alternatives you've considered
Typing runApp('app.R') manually into the R console. I maybe bind a hotkey to this, but it would be convenient to have a solution that is there by default, especially when teaching with VS Code for R.
- 主要語言
- TypeScript
- 星號
- 1.2k
- 分支
- 151
- 平均合併
- 18 小時 16 分鐘
- 30 天內合併 PR
- 70
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
REditorSupport/vscode-R 的其他 Issue
-
[Bug]: indentation clash (formatter vs lintr)可能已有人在做 @renkun-ken 於 13 天前認領。 未關閉bug
難度 1/5 1 小時以內 新手友好度 92/100
REditorSupport/vscode-R#1883 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
REditorSupport/vscode-R#1846 · 2 則留言 ·
維護者通常 1 天內回覆
-
(feat) Additional Arrow support可能已有人在做 @Fred-Wu 於 17 天前認領。 未關閉enhancement
難度 2/5 1-3 小時 新手友好度 72/100
REditorSupport/vscode-R#1785 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 48/100
REditorSupport/vscode-R#1914 · 4 則留言 ·
維護者通常 1 天內回覆
-
Explore a standalone, dependency-free R package for the Data Viewer backend可能已有人在做 @eitsupi 於 19 天前認領。 未關閉
難度 5/5 一週以上 新手友好度 35/100
REditorSupport/vscode-R#1860 · 14 則留言 · 1 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
查看 REditorSupport/vscode-R 的全部 Issue
相似的 Issue
-
triage
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
🎙️ task - drop the raw `./node_modules/.bin/rhachet roles boot` line from bhuild's feedback template未關閉
難度 2/5 1-3 小時 新手友好度 62/100
ehmpathy/rhachet-roles-bhuild#639 ·
維護者通常 1 天內回覆
-
e2e-failure ready-to-code
難度 2/5 1-3 小時 新手友好度 70/100
redhat-developer/rhdh-plugin-export-overlays#4650 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 13 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
omdsh-dev/DSH-better-sidebar#1098 ·
維護者通常 2 天內回覆