Jordan Smith Posted July 30, 2019 Share Posted July 30, 2019 It seems that basic dplyr functions (e.g. filter) are not working in TERR. I have tried using an both an input table and generating one natively and am getting the same error: TERR version: 4.4.0 Spotfire version: Spotfire Analyst 7.12.0 dplyr version: dplyr (0.7.4) #Error message #TIBCO Enterprise Runtime for R returned an error: 'Error in function(x) #{inherits(x, "spliced")} #(Segment == "PERFE : object 'Segment' not found #generate input table on the fly for testing library(dplyr) surveyOut #survey #vClass #surveyOut % select(Segment) > surveyOut surveyOut % filter(Segment=='PERFED') > head(surveyOut) wellName Segment 1 A PERFED 2 A PERFED 3 A PERFED 4 A PERFED 5 A PERFED 6 B PERFEDI realize that this can be worked around by setting columns in the data function, but have some more complex and flexible functions that would result in significant less friendly user manipulation and would like to avoid. Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted September 13, 2019 Share Posted September 13, 2019 You can try out in 4.5 or 5.0 TERR. I tried the above code in spotfire 10.3 which has terr 5.0 and it runs fine there. No error is seen 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