2025-01-21 21:29:16 +13:00

517 B

Demo app

  1. Installing R and the the ts package
devtools::install_github("tmelliott/ts")
  1. Install node and npm (or pnpm!), then install dependencies
pnpm install
  1. Build dependencies
pnpm build
  1. Start Rserve in a separate terminal
pnpm rserve
  1. Run the app
pnpm start

You should see some output in the terminal:

Running sampler script...

Mean: 3
First char: hello
Sample num: Float64Array(2) [ 4, 3, r_type: 'double_array' ]