Jump to content

Unable to run TERR Data Function Script - Binary rlang could not be loaded


Kem Azlan

Recommended Posts

Hi Spotfire team,

I try to run some TERR script in my Spotfire, but keep getting error as below:

image.thumb.png.83f13b3aa55ea4b1167f14554ada1570.png

 

The error message:

TIBCO Enterprise Runtime for R returned an error

The data function 'TEST' could not be executed.

Error in .loadNamespaceImpl(package, path, keep.source, partial) : error executing useDynLib for dynamic library 'rlang' from package 'rlang' loaded from C:/Users/mnorazla/DOCUME~1/TERR/X86_64~1/6.0 : Error in library.dynam(chname = chname, package = package, lib.loc = ... : Foreign binary rlang could not be loaded
    eval(script, envir = .GlobalEnv)
    eval(script, envir = .GlobalEnv)
    withCallingHandlers({
    DBI::dbConnect(odbc::odbc(), Driver = "SnowflakeDSIIDriver",
    standardGeneric("dbConnect")
    .standardGeneric(base::quote("dbConnect"), base::quote(new(structure("standardGeneric",
    odbc::odbc
    loadNamespace(pkg)
    .loadNamespace(package, lib.loc, keep.source, partial, quietly,
    .loadNamespaceImpl(package, path, keep.source, partial)
    .createImportEnv(nsinfo, package)
    loadNamespace(i)
    .loadNamespace(package, lib.loc, keep.source, partial, quietly,
    .loadNamespaceImpl(package, path, keep.source, partial)
    .createImportEnv(nsinfo, package)
    loadNamespace(i)
    

I try to look on the workaround that has been provided (link: TERR error "Foreign binary rlang could not be loaded", from a CRAN package that has been installed using install.packages() or TERR Tools. (tibco.com)) , but unable to solve the issue. Maybe is there another way to solve the issue? My TERR version is 6.0.1.

Link to comment
Share on other sites

hi Kem,

the KB article you shared says that this issue is fixed in TERR 6.0.3, and i see you mention you are using TERR 6.0.1. is upgrading to 6.0.3 a possibility? it's not clear what steps from the article you have taken to resolve the problem - could you please elaborate?

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