
rstudio/shiny
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Rによる簡単なインタラクティブウェブアプリケーション
概要
Rで豊かで生産的なインタラクティブなウェブアプリを簡単に構築できます — HTML/CSS/JavaScriptは不要です。 * 直感的で拡張性のあるリアクティブプログラミングモデルで、既存のRコードを「ライブアプリ」に変換し、新しいユーザー入力に自動的に反応する出力を可能にします。* イベントベースプログラミングと比べて、Reactiveは入力が変わっても最小限の作業量で済み、人間が複雑なMVCロジックをより簡単に理解できるようにします。* 高度に洗練されカスタマイズ可能で使いやすいウィジェットセット(例:プロット、表、スライダー、ドロップダウン、日付ピッカーなど)。* Bootstrapをベースにした魅力的なデフォルトデザインで、bslibパッケージで簡単にカスタマイズでき、より直接的なRバインディングで完全に回避可能です。* R Markdownとのシームレスな統合により、多数のアプリケーションを大きな動的ドキュメント内にネイティブに埋め込むのが容易です。
概要(AI 翻訳)
Rで豊かで生産的なインタラクティブなウェブアプリを簡単に構築できます — HTML/CSS/JavaScriptは不要です。
特徴
- 直感的で拡張可能なリアクティブプログラミングモデルで、既存のRコードを「ライブアプリ」として簡単に変換し、出力が新しいユーザー入力に自動的に反応します。
- イベントベースプログラミングと比べて、リアクティビティーは入力の変化時に最小限の作業量で済ませ、人間が複雑なMVC論理をより容易に推論できるようにします。
- 高度でカスタマイズ可能で使いやすいウィジェット(例:プロット、表、スライダー、ドロップダウン、日付ピッカーなど)のプリビルドセット。
- Bootstrapをベースにした魅力的なデフォルトデザインで、bslibパッケージで簡単にカスタマイズでき、より直接的なRバインディングでHTML/CSS/JavaScriptに割り当てることで完全に回避可能です。
- R Markdownとのシームレスな統合により、多数のアプリケーションをより大きな動的ドキュメント内にネイティブに埋め込むことが可能です。
- 非同期プログラミング、キャッシュ、負荷テストなどのネイティブサポートを含むパフォーマンス向上・監視ツール。
- モジュール:コードの重複と複雑さを減らすためのフレームワーク。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
shiny
Easily build rich and productive interactive web apps in R — no HTML/CSS/JavaScript required.
Features
- An intuitive and extensible reactive programming model which makes it easy to transform existing R code into a “live app” where outputs automatically react to new user input.
- Compared to event-based programming, reactivity allows Shiny to do the minimum amount of work when input(s) change, and allows humans to more easily reason about complex MVC logic.
- A prebuilt set of highly sophisticated, customizable, and easy-to-use widgets (e.g., plots, tables, sliders, dropdowns, date pickers, and more).
- An attractive default look based on Bootstrap which can also be easily customized with the bslib package or avoided entirely with more direct R bindings to HTML/CSS/JavaScript.
- Seamless integration with R Markdown, making it easy to embed numerous applications natively within a larger dynamic document.
- Tools for improving and monitoring performance, including native support for async programming, caching, load testing, and more.
- Modules: a framework for reducing code duplication and complexity.
- An ability to bookmark application state and/or generate code to reproduce output(s).
- A rich ecosystem of extension packages for more custom widgets, input validation, unit testing, and more.
Installation
To install the stable version from CRAN:
install.packages("shiny")
Getting Started
Once installed, load the library and run an example:
library(shiny)
# Launches an app, with the app's source code included
runExample("06_tabsets")
# Lists more prepackaged examples
runExample()
For more examples and inspiration, check out the Shiny User Gallery.
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add rstudio/shiny