There are a few things to note regarding output from R scripts:
- Only a single data frame can be returned.
- The data frame must be returned without headers.
- The names and data types of rows to be returned must be specified in the Outputs clause of the SQL-MapReduce Stream command or the Aster R runner function that calls the R script.