Jump to content

Facing error in Running R script in Spotfire.


Sukriti Kathuria

Recommended Posts

TIBCO Enterprise Runtime for R returned warnings:

Loading required namespace: dplyr

1: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': ignoring importFrom(rlang, enexprs) - cannot find symbol

2: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': ignoring importFrom(rlang, enquos) - cannot find symbol

3: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': ignoring importFrom(rlang, ensym) - cannot find symbol

4: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': ignoring importFrom(rlang, ensyms) - cannot find symbol

1: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': cannot export undefined variable 'enexprs'

2: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': cannot export undefined variable 'enquos'

3: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': cannot export undefined variable 'ensym'

4: In .loadNamespaceImpl(package, path, keep.source, partial) : package 'ggplot2': cannot export undefined variable 'ensyms'

5: In filled.contour(x_ctr, y_ctr, mu_cell, zlevels, xlim = xra... : this function not yet implemented - graphics functions are not implemented

Could not execute funtion call:

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()

 

Hi Team,

I am trying to run a R script(which is funtional in RStudio) but is throwing these errors. Can you please guide me on how this can be solved. I have been working with a few Spotfire experts on same. The script is for developing Contour Plot.

ggplot2 pracma have been installed and invoked in the code.

Link to comment
Share on other sites

  • 8 months later...

Hi, I saw the similar error today with local TERR. I have all the neeeded packages installed. The code runs fine in RStudio but TERR throws this error: Could not execute function call.

TIBCO Enterprise Runtime for R returned an error: 'Error in ensym2(.key) : could not find function "ensym"

    eval(expr, envir, enclos)

    eval(expr, envir, enclos)

    ET_CIP_List %>% group_by(PROCESS_ID) %>% nest()

    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)

    nest(.)

    nest.tbl_df(.)

    as_string(ensym2(.key))

    coerce_type(x, friendly_type("string"), symbol = {

    type_of(.x)

    ensym2(.key)'.

   at Spotfire.Dxp.Data.DataFunctions.Executors.LocalFunctionClient.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() Any suggestion on what can I check

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...