7.00.02.01 - Examples of Running R Scripts in Aster - Aster R

Teradata Aster® R User GuideUpdate 3

prodname
Aster R
vrm_release
7.00.02.01
created_date
December 2017
category
Programming Reference
User Guide
featnum
B700-1033-700K

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.