Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: R script executor external lib load

  1. #1

    Default R script executor external lib load

    Hi!

    I tested the R Script Executor Step, using a script that works in R console, and it fails

    The conflicting line seems to be the use of RJDBC lib which I installed previously through the console

    I can test:
    data(iris)
    iris

    works fine, but

    require(RJDBC)
    drvVertica <- JDBC("com.vertica.jdbc.Driver",'C:\\pdi-ce-5.0.1.A-stable\\data-integration\\lib\\vertica-jdk5-6.1.2-0.jar'); #Should do only a variable load
    data(iris)
    iris

    throws message error "no output data" when tested, so I assume something in the JDBC loading line breaks the script

    Might it be that lib loading is disabled in the step? Same code works in R console.
    Could somebody shed some light?

    Thank you very much!

  2. #2

    Default

    Sorry, I restarted after a lot of time looking for a solution and it finally worked. Please delete this post.

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.