Deploy R code for the Expression client interface
When you use the Expression Client interface, you can put your custom functions in a package, and then load the package explicitly as part of the expression before calling the function.
For example, if an application uses a custom function
doGraph35()
, you could put the code for this function into a package (MyGraphPkg) and call it with an expression, such as follows.
{library(“MyGraphPkg”); doGraph35(arg1=...)}
Note: The above code assumes that the package exists in the package repository on the server. Note that the
TERR engine does not support graph functions.
This approach does not work with the Function Client interface, because the Function Client service can execute only one function contained within a package that is automatically attached to the R engine.
Parent topic: Code for the Expression Client Interface