<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error with tSystem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298619#M71062</link>
    <description>&lt;P&gt;So looks like when I installed required R library from R console, it installed it in my user directory on windows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;By running .libpath in R console I was able to see where the library are being stored:&lt;/P&gt; 
&lt;P&gt;&amp;gt; .libPaths()&lt;BR /&gt;[1] "C:/Users/myuser/Documents/R/win-library/3.4"&lt;BR /&gt;[2] "C:/Program Files/R/R-3.4.4/library"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;either you need install the library in the path [2] so when you run the Talend tsystem component from TIC, R execution can see the libraries or add a line to top to your R script:&lt;/P&gt; 
&lt;P&gt;.libPaths(c("C:/Users/myuser/Documents/R/win-library/3.4", .libPaths()))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This should fix the problem.&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2019 17:01:55 GMT</pubDate>
    <dc:creator>talendstar</dc:creator>
    <dc:date>2019-05-10T17:01:55Z</dc:date>
    <item>
      <title>Error with tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298616#M71059</link>
      <description>&lt;P&gt;I am running a batch file that runs a R script.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The step runs fine when I am running it in the studio - however when the job is run from the TIC it errors out:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;C:\TalendRemoteEngine\TalendJobServersFiles\repository\AVBTALEND71_TermFee_Master_5cd1b33a1488ad43b1448fd0_2.3\TermFee_Master&amp;gt;"C:\Program Files\R\R-3.4.4\bin\Rscript" "C:\TermFee\VacancyEstimation\VacancyEstimation.R"&lt;BR /&gt;Error in library(npsurv) : there is no package called 'npsurv'&lt;BR /&gt;Execution halted&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I load R on the RE server - I am able to load the library npsurv just fine and do not get an error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What could be happening here?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 20:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298616#M71059</guid>
      <dc:creator>talendstar</dc:creator>
      <dc:date>2019-05-08T20:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error with tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298617#M71060</link>
      <description>check your execution server, it it on windows or linux, and your dev is on windows or linux?&lt;BR /&gt;tSystem call local exec so you have to valid that your exec is present and you can run it with Talend execution user</description>
      <pubDate>Thu, 09 May 2019 10:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298617#M71060</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-05-09T10:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error with tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298618#M71061</link>
      <description>&lt;P&gt;Both the Talend Studio server and the remote engine servers are windows 2012.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Talend Service is running under Local System on the remote engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I log on the remote engine server - I can bring up the command prompt and execute the batch successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please elaborate on how to validate that the exec is present? by the way I have another tsystem in the same job that executes a python script but that step runs fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 14:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298618#M71061</guid>
      <dc:creator>talendstar</dc:creator>
      <dc:date>2019-05-09T14:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error with tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298619#M71062</link>
      <description>&lt;P&gt;So looks like when I installed required R library from R console, it installed it in my user directory on windows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;By running .libpath in R console I was able to see where the library are being stored:&lt;/P&gt; 
&lt;P&gt;&amp;gt; .libPaths()&lt;BR /&gt;[1] "C:/Users/myuser/Documents/R/win-library/3.4"&lt;BR /&gt;[2] "C:/Program Files/R/R-3.4.4/library"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;either you need install the library in the path [2] so when you run the Talend tsystem component from TIC, R execution can see the libraries or add a line to top to your R script:&lt;/P&gt; 
&lt;P&gt;.libPaths(c("C:/Users/myuser/Documents/R/win-library/3.4", .libPaths()))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This should fix the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 17:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-tSystem/m-p/2298619#M71062</guid>
      <dc:creator>talendstar</dc:creator>
      <dc:date>2019-05-10T17:01:55Z</dc:date>
    </item>
  </channel>
</rss>

