Native Desktop Application Framework
Overview
Build native desktop applications for Windows (with future support planned for macOS and Linux) using 'R' and embedded 'webviews'. Provides a robust 'R6'-based event loop, asynchronous background task management via 'mirai' and 'callr', and a native message bridge for seamless 'R'-to-user-interface communication without listening ports or network overhead. Allows 'R' developers to create professional, standalone desktop tools with modern web-based user interfaces while maintaining a pure 'R' backend.
New features & hardening
- **App Bundling & Runtime Stability**: Hardened
build_app()with unified input validation, R runtime version tolerance, and automatic exclusion of build-time header packages (LinkingTo) to avoid missing dependency errors for packages likedplyrandcpp11. - **Process Management & Window Bridging**: Added
rdesk_open_window()with robustprocessxpipes,READYhandshakes, and native process lifetime controls. - **Auto-Updater Engine**: Enhanced
rdesk_auto_update()with installer invocation, safe temporary staging, and version comparisons. - **Storage Isolation**: Hardened persistent storage paths (
%LOCALAPPDATA%,%APPDATA%) with fallback tempdir validation for restricted permission environments. - **IDE & Working Directory Resolution**: Fixed app directory path resolution in Positron and RStudio when sourcing across active editor tabs.
- **Cross-Platform Foundation (Preview)**: Core architecture groundwork prepared for future macOS and Linux desktop targets.
Bug fixes
- Bundled demo applications now resolve their app directory from the native launcher's
R_BUNDLE_ROOT, avoiding startup failures caused by differingR -fandsource()call stacks across execution contexts. - Fixed top-level demo logging cleanup to run through
tryCatch(..., finally=)rather than callingon.exit()outside a function.
Show all changes in 1.0.7Hide the rest of the changes in 1.0.7
- Fixed unique message ID collision under fast sequential IPC test calls.
From NEWS.md in the release
Install
Health
- OK3 OKNow
- OK2 OK2026-04-25
- NOTE1 OK, 1 NOTE2026-04-11
- OK1 OK2026-04-01
Documentation
- Help pages
- 42 (22 internal)
- Examples that run
- 100%15 run in a plain check (6 of them under a condition)
- Exported functions with examples
- 75%
- Documented parameters
- 100%
- Return-value docs
- 90%
- Help pages citing references
- 0%
- AI Coding Assistant HTML
- Architecture HTML
- Async & Background Tasks in RDesk HTML
- Coming from Shiny HTML
- Cookbook HTML
- Getting Started with RDesk HTML
- High-Performance Asynchronous Processing with mirai HTML
- RDesk IPC Message Contract HTML
- The Long Road to Native R Desktop Apps - and Why RDesk Changes Everything HTML
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/janakiraman-311/rdesk on 2026-10-22.
The R CMD check workflow runs on Windows
GitHub Pages site last deployed 2026-09-04 · The repository has a site deploy workflow
pkgdown site last built 2026-09-04
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
Package metadata
- First published
- 2026-03-31
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 3.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RDesk")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.