I have written two Data Functions in Spotfire as R script Type. One Data Function sources the functions from another Data Function, say "FunctionName.R," in R as:
source("C:\\Users\\Username\\FunctionName.R")
However, I need to reference the same FunctionName.R from the other Data Function in the Spotfire library rather than on the C: drive. It should look something like:
source("\\MainLibrary\\SubLibrary\\FunctionName.R")
where "/MainLibrary/SubLibrary/FunctionName.R" is the Path shown in Data Function Properties. But that path did not work with the source command.
How can I source from the Path shown in Data Function Properties from the same library rather than my local drive?