Skip to contents

Scaffold

Create a new RDesk application

rdesk_create_app()
Create a new RDesk application

Core application

Create and run 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

Async engine

Background task execution without blocking the UI

async()
Wrap a message handler to run asynchronously with zero configuration
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

Updates

Auto-update your distributed app

rdesk_auto_update()
Automatically check for and install app updates

Build & distribute

Package your app for distribution

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

IPC Communication

Helpers for the standard RDesk message protocol

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

Utilities & Serialization

Helpers for plot conversion and data framing

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