This section contains several examples of running R scripts in the Aster Database. Users can execute an R script in the Aster Database from the R client or from the Aster Database SQL-MR prompt. The underlying process is the same for these two methods, and the results are the same. The choice is only a matter of the user’s preference.
- To run a script from the R client, users can use the Aster R runner function ta.source(), which calls the SQL-MR Stream function.
- To run a script from the SQL-MR prompt, users can call the Stream function directly.
This section contains examples for both methods.