1 Reply Latest reply on Feb 5, 2018 12:20 PM by Patrick Van Der Hyde

    Using R function in Tableau got "no terms in scope"

    Ginny Lu

      I am trying to use some functions that I created in R but failed. I already done:

           - source the .R file that includes my function

           - load Rserve library and Rserve() function in R

           - connect Rserve in Tableau


      Currently, I can use some R's built-in functions like mean() in tableau with SCRIPT_REAL. However, when I use the function that I created by myself in R (let's say add1() ), it turns out the error "Error in add1.default(.arg1) : no terms in scope".


      Many thanks if anyone knows how it comes!