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

Support launching Shiny apps via the run button in VS Code

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

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

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

評価

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

調査の方向性

現在 source("app.R", encoding = "UTF-8") を実行している VS Code の実行ボタンの経路から始め、リンクされている pyshiny-vscode extension の Shiny 起動動作と比較します。app.R の Shiny 例を、手動で runApp('app.R') を実行する必要なく、実行ボタンの「Run shiny app」アクションから起動できれば完了です。

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

説明

feature-request

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
フォーク
139
平均マージ
19時間 50分
マージ済み PR(30日)
27

環境構築

はじめの一歩

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

REditorSupport/vscode-R のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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