7.00.02.01 - Overview of Custom R Scripts and Functions - 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

There are two ways to use custom R scripts and functions in the Aster Database.

  • Use the Aster R MapReduce Runner functions to apply existing open-source or custom R functions to tables in the Aster Database.

    This method is similar to the open-source R apply() functions, and is often applied during data exploration phases.

  • Install custom R scripts on the Aster Database, and run the scripts using the Teradata Aster SQL-MapReduce® Stream functionality.

    This method is often used for production applications, when more than one user may need to use the same script.

These two methods produce equivalent results, and the choice is primarily a matter of preference and applications.