I just started to explore TERR, and wrote the following data function (just as a example).

Hi, I just started to explore  TERR,  and wrote the following data function (just as a example). I also had a few other scripts that work well in Rstudio, but not register in TERR. Any troubleshooting would be really appreciated! 

 data<-t.test(c(1,2,3,4,5),c(0,0,0,0,0))

However, it gave me an alert:

Could not execute function call.

TIBCO Enterprise Runtime for R returned an error: 'Error in as.data.frame.default(passed.args[[i]], stringsAsFactors = s : cannot coerce class '"htest"' into a data.frame'.   at Spotfire.Dxp.Data.DataFunctions.Executors.LocalFunctionClient.OnExecuting(FunctionClient funcClient)   at Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.<RunFunction>d__3.MoveNext()   at Spotfire.Dxp.Data.DataFunctions.Executors.SPlusFunctionExecutor.<ExecuteFunction>d__3.MoveNext()   at Spotfire.Dxp.Data.DataFunctions.DataFunctionExecutorService.<ExecuteFunction>d__6.MoveNext()

Thanks!

-Jason

(3) Answers

Login