浏览代码

HPCC-20201 Supplied example R-simple.ecl does not compile

Looks like it was copied and cleaned up from one of the regression tests, but
not tested after the cleanup.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 年之前
父节点
当前提交
17dce2b4fa
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      initfiles/examples/embed/R-simple.ecl

+ 3 - 3
initfiles/examples/embed/R-simple.ecl

@@ -1,10 +1,10 @@
 IMPORT R;
 
 /*
- This example illustrates and tests the use of embedded JavaScript
+ This example illustrates and tests the use of embedded R
  */
 
-// Scalar parameters and resuls
+// Scalar parameters and results
 
 integer add1(integer VAL) := EMBED(R)
 VAL+1
@@ -110,7 +110,7 @@ ENDEMBED;
 // returning a record
 
 mtcarsrec testRecordOut() := EMBED(R)
-mtcars[t,];
+mtcars[1,];
 ENDEMBED;
 
 mtcarsrec testRecordOut2() := EMBED(R)