Kem Azlan Posted August 22 Share Posted August 22 Hi Spotfire team, I try to run some TERR script in my Spotfire, but keep getting error as below: 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 More sharing options...
Niko Maresco Posted August 22 Share Posted August 22 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 More sharing options...
Kem Azlan Posted August 23 Author Share Posted August 23 Hi Niko, I am trying to get with my IT team whether upgrading TERR is possible or not. Here are the steps that I followed: Hopefully it helps. 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