Skip to contents

Building apps

Writing and compiling functions into Rserve apps.

ts_function()
TS function definition
ts_app()
Generate an Rserve app from a ts function
ts_compile()
Compile R functions
ts_deploy()
Deploy a ts Rserve app
createWidget()
Create a TypeScript-Compatible Widget
tsWidget-class tsWidget
Base Widget Class
observer()
Create an Observer for Reactive Methods

Types

Type helper functions for defining argument and return types.

type_objects
Types in R and TypeScript
ts_logical()
Logical or boolean type
ts_integer()
Integer type
ts_numeric()
Numeric type
ts_character()
Character or string type
ts_factor()
Typed factor
ts_list()
Typed list
ts_dataframe()
Typed dataframe
ts_null()
Null type
ts_void()
Void type
ts_object() is_ts_object() get_type() check_type()
Typed object (internal use only)
ts_union()
Union type
ts_array()
Array type
ts_optional()
Optional type
ts_undefined()
Undefined type
ts_recursive_list()
Recursive list
ts_self()
Self object
js_function()
JS functions callable from R

Debugging

Debugging utilities for RserveTS.

rts_debug_enabled()
Check if debug logging is enabled for a tag
rts_log()
Log a debug message