R
Technology
Teaser
library(vrpc)
greet <- function(whom) {
paste("Hello,", whom)
}
start_vrpc_agent(domain = "public.vrpc")Rscript hello-world.R # displays generated agent nameconst { VrpcRemote } = require('vrpc')
;(async () => {
const client = new VrpcRemote({ domain: 'public.vrpc', agent: process.argv[2] })
await client.connect()
console.log(await client.callStatic({
className: 'Session',
functionName: 'greet',
args: ['world!']
}))
})()Features
Differences to OpenCPU
VRPC
OpenCPU
Differences to Shiny
Last updated