Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content

dplyr and tidyr in TERR 4.3


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