Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: R Executor Step

  1. #1

    Default R Executor Step

    Hi!

    I'm using the beta R script executor, but I noticed sometimes the script fails when using functions and passing parameters whereas the console parse it ok
    I think someway the step wraps the whole script in a function or something changing the scope?

    Can anybody shed some light regarding that issue? Perhaps an omitted step?

  2. #2

    Default

    Ok I found it.

    R script can fail on some functions due to the fact that Testing script uses mock values infered from dataframe fields types, that means wherever you exepct some kind of data (binomial, binary and so on), it can make it fail even if it works in R console due to unexpected samples

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.