09.09.2016 Views

SAP HANA R Integration Guide

2c9H5is

2c9H5is

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Results<br />

After the trace level of rscript_output is recorded, all the R script output are recorded and can be seen in<br />

the latest indexserver_*.trc file.<br />

An example of R script follows:<br />

Sample Code<br />

DROP TYPE DUMMY_T;<br />

CREATE TYPE DUMMY_T AS TABLE(<br />

ID INTEGER,<br />

VAL DOUBLE<br />

);<br />

DROP PROCEDURE USER_PROC;<br />

CREATE PROCEDURE USER_PROC (IN input1 DUMMY_T, OUT result DUMMY_T)<br />

LANGUAGE RLANG AS<br />

BEGIN<br />

result

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!