To run R:

  1. Invoke a callback function.

  2. Call a user object's operation.

  3. Run a classic script.

  4. Run a module script.