Examples of Running R Scripts in Aster - Aster R

Teradata Aster® R User GuideUpdate 3

Product
Aster R
Release Number
7.00.02.01
Published
December 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
fop1497542774450.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
fbp1477004286096
lifecycle
previous
Product Category
Software

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.