To run R:
Invoke a callback function.
Call a user object's operation.
Run a classic script.
Run a module script.