RS

rstudio/shiny

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

5.7천 stars 품질 58 트렌드 48NOASSERTION

R을 이용한 쉬운 인터랙티브 웹 애플리케이션

개요

R에서 풍부하고 생산적인 인터랙티브 웹 앱을 쉽게 만들 수 있습니다 — HTML/CSS/JavaScript가 필요 없습니다. * 기존 R 코드를 '라이브 앱'으로 쉽게 변환하여 새로운 사용자 입력에 자동으로 반응하는 직관적이고 확장 가능한 반응형 프로그래밍 모델. * 이벤트 기반 프로그래밍과 비교해 Reactive는 입력이 변경될 때 최소한의 작업만 할 수 있게 하며, 복잡한 MVC 논리를 더 쉽게 이해할 수 있게 합니다. * 고도로 정교하고 맞춤화 가능하며 사용하기 쉬운 위젯 세트(예: 플롯, 표, 슬라이더, 드롭다운, 날짜 선택기 등). * 부트스트랩 기반의 매력적인 기본 디자인으로, bslib 패키지로 쉽게 커스터마이징할 수 있으며, HTML / CSS/JavaScript에 더 직접적인 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.

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add rstudio/shiny
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →