Jump to content

dplyr and tidyr in TERR 4.3


Steven Lubman 2

Recommended Posts

  • 4 weeks later...

Hi Steven,

Thanks for your question, the solution will be discussed in the upcoming Dr. Spotfire session. Register here (https://community.tibco.com/wiki/doctor-spotfire-office-hours).

If you are unable to make it, the sessions will be recorded and available for viewing on TIBCO Dr. Spotfire playlist (https://www.youtube.com/watchv=hGKmTxVcjJ0&list=PLknbq-WaCOiVvyZpLXHOM2...).

To briefly summarise: compatibility with tidyverse packages is a known issue in terr 4.3 which has been fixed in terr 4.4

Although a work around exists that let's you install the compatible versions from TRAN instead of CRAN, for this while running install.packages use argumentrepos="

Link to comment
Share on other sites

  • 1 year later...

Are there still known issues with tidyr package and TERR 4.4  I am using spread() function from Tidyr package and it results in below error: Could not execute function call.

TIBCO Enterprise Runtime for R returned an error: 'Error in is_null(x) : object '.ArgsEnv' not found

    eval(expr, envir, enclos)

    eval(expr, envir, enclos)

    rbind(inline_summary3_a, inline_summary3_b) %>% tidyr::spread(.,

    withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))

    eval(expr, envir, enclos)

    eval(expr, envir, enclos)

    `_fseq`(`_lhs`)

    freduce(value, `_function_list`)

    function_list[](value)

    tidyr::spread(., MODULE, FailCount, fill = 0)

    spread.data.frame(., MODULE, FailCount, fill = 0)

    id(rows, drop = drop)

    map_dbl(ids, attr, "n")

    as_mapper(.f, ...)

    as_mapper.default(.f, ...)

    rlang::as_closure(.f)

    coerce_type(x, "a closure", closure = x, primitive = {

    formals(.ArgsEnv[[fn_name]] %||% .GenericArgsEnv[[fn_name]])

    .ArgsEnv[[fn_name]] %||% .GenericArgsEnv[[fn_name]]

    is_null(x)'.

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

 

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...