Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-9594

Rembed with additional ecl code

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
    • Environment:
      community-with-plugins_4.0.0-rc8[tags/community_4.0.0-rc8-0-gf57a89]

      Description

      If you execute the following R code it works fine.
      // working code example.
      IMPORT R;
      String myRCode(String myvalstr) := EMBED(R)
      MyX=myvalstr;
      print(MyX);
      ENDEMBED;
      myRCode('test');

      However if you then create a dataset and out put it it fails. with this error: 0: System error: 0: Plugin Rembed not found at /opt/HPCCSystems/plugins/Rembed

      //failed code example
      IMPORT R;
      String myRCode(String myvalstr) := EMBED(R)
      MyX=myvalstr;
      print(MyX);
      ENDEMBED;
      myRCode('test');

      Layout_Person := RECORD
      UNSIGNED1 PersonID;
      STRING15 FirstName;
      STRING25 LastName;
      END;

      allPeople := DATASET([

      {1,'Fred','Smith'}

      ,

      {2,'Joe','Blow'}

      ,

      {3,'Jane','Smith'}

      ],Layout_Person);

      somePeople := allPeople(LastName = 'Smith');

      // Outputs —
      somePeople;

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              joe.chambers Joseph Chambers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: