Skip to contents

Scaffold

Create a new RDesk application from a professional template.

rdesk_create_app()
Create a new RDesk application

Core Application

Create, configure, and run native desktop application windows.

App
Create and launch a native desktop application window from R.
rdesk_service()
Service all active RDesk applications
rdesk_is_bundle()
Check if the app is running in a bundled (standalone) environment

Developer Velocity

Live hot reloading of R modules and UI code.

rdesk_watch()
Enable live hot reloading for an RDesk application

Async Engine

Run background tasks without freezing the UI - built on mirai.

async()
Wrap a message handler to run asynchronously with zero configuration
async_progress()
Update progress of a background async task
rdesk_async()
Run a task in the background
rdesk_cancel_job()
Cancel a running background job
rdesk_jobs_pending()
Check if any background jobs are pending
rdesk_jobs_list()
List currently pending background jobs

Multi-User Storage

Isolated JSON-backed key-value stores mapping dynamically to user and system folders.

RDeskStorage
RDesk Storage Manager
rdesk_storage()
Create a multi-user storage manager

Auto-Update

Keep distributed apps up to date automatically.

rdesk_auto_update()
Automatically check for and install app updates

Build & Distribute

Package your app into a self-contained ZIP or Windows installer.

build_app()
Build a self-contained distributable from an RDesk application

IPC Communication

Low-level helpers for the RDesk message envelope protocol.

rdesk_message()
Construct a standard RDesk IPC message envelope
rdesk_parse_message()
Parse and validate an incoming RDesk IPC message

Utilities & Serialisation

Convert plots and data frames for transport over the IPC bridge.

rdesk_plot_to_base64()
Convert a ggplot2 object to a base64-encoded PNG string
rdesk_df_to_list()
Convert a data frame to a list suitable for JSON serialization
rdesk_error_plot()
Generate a base64-encoded error plot