TERR 22.214.171.124, Spotfire 126.96.36.199.9: not recognizing mutate
I ran the following using our Spotfire TERR server:
results<-subset(results, select = c(colum1, column2), column3== 1) results<-mutate(.data = results, anotherColumn = column3 + 1 )
and I received this error:
TIBCO Spotfire Statistics Services returned an error: 'Error in eval(expr, envir, enclos) : could not find function "mutate"'. at Spotfire.Dxp.Data.DataFunctions.Executors.RemoteFunctionClient.OnExecuting() at Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.<RunFunction>d__0.MoveNext() at Spotfire.Dxp.Data.DataFunctions.Executors.SPlusFunctionExecutor.<ExecuteFunction>d__0.MoveNext() at Spotfire.Dxp.Data.DataFunctions.DataFunctionExecutorService.<ExecuteFunction>d__6.MoveNext()
Then I ran the same lines locally, but this time included dplyr. It ran fine. At the server level, the first subset line, does not give any errors. The error is only with mutate.
install.packages("dplyr") library(dplyr) results<-subset(results, select = c(colum1, column2), column3== 1) results<-mutate(.data = results, anotherColumn = column3 + 1 )
Could I be missing something at the server level? dplyr is already installed.