Kunal Badhe Posted September 4, 2018 Share Posted September 4, 2018 I am using below script in my report. But after migration from 7.6 to 7.11, it is giving infinire recursion error. SCRIPT : library('dplyr') dt2% group_by(TOKEN) %>% summarise(n_distinct(RESPID)) dt2% top_n(25) ERROR : TIBCO Enterprise Runtime for R returned an error: 'Error in as_glue.character(NextMethod()) : evaluation nested too deeply: infinite recursion / options(expressions=) eval(expr, envir, enclos) eval(expr, envir, enclos) dt2 %>% top_n(25) withVisible(eval(quote(`_fseq`(`_lhs`)), env, env)) eval(expr, envir, enclos) eval(expr, envir, enclos) `_fseq`(`_lhs`) freduce(value, `_function_list`) withVisible(function_list[[k]](value)) function_list[[k]](value) top_n(., 25) inform(glue("Selecting by ", wt_name)) glue("Selecting by ", wt_name) glue_data(.x = NULL, ..., .sep = .sep, .envir = .envir, .open = .open, as_glue(res) as_glue.character(res) enc2utf8(x) x[notBytes] `[.glue`(x, notBytes) as_glue(NextMethod()) as_glue.character(NextMethod()) enc2utf8(x) x[notBytes] `[.glue`(x, notBytes) as_glue(NextMethod()) as_glue.character(NextMethod()) enc2utf8(x) x[notBytes] `[.glue`(x, notBytes) as_glue(NextMethod()) ...'. at Spotfire.Dxp.Data.DataFunctions.Executors.LocalFunctionClient.OnExecuting() at Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.d__0.MoveNext() at Spotfire.Dxp.Data.DataFunctions.Executors.SPlusFunctionExecutor.d__0.MoveNext() at Spotfire.Dxp.Data.DataFunctions.DataFunctionExecutorService.d__6.MoveNext() Link to comment Share on other sites More sharing options...
Douglas Johnson Posted January 31, 2019 Share Posted January 31, 2019 The following public knowledge base article providesinformation on this known issue, which has been dealt with in TIBCO Enterprise Runtime for R (TERR) 4.5.0: https://support.tibco.com/s/article/An-infinite-recursion-can-be-trigger... In the Spotfire desktop client, you can find out what TERR version it is using as its local built-in TERR engine by selecting "Tools > TERR Tools > Launch TERR Console" from the main menu, then reading the TERR version in the header at the top of the TERR Console session. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now