inst/consoleCallTrialScript.R

library(SPOT)

set.seed(7)

args = commandArgs(trailingOnly=TRUE)
params <- as.numeric(strsplit(args[1],",", fixed = T)[[1]])
res <- sum(params^2)
cat(res)

Try the SPOT package in your browser

Any scripts or data that you put into this service are public.

SPOT documentation built on June 26, 2022, 1:06 a.m.