Jump to content
We've recently updated our Privacy Statement, available here. ×

dplyr basic functions not working in TERR data function


Jordan Smith

Recommended Posts

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

  • 1 month later...

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