<?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 R Qlik Integration R_BasicExample.qvf in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/R-Qlik-Integration-R-BasicExample-qvf/m-p/1567917#M12662</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying out the example downloaded from Qlik community about R and Qlik Sense integration. The connector is established successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to load in script editor, it shows "&lt;FONT color="#FF0000"&gt;C&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;onnector reply error: grpc::StatusCode::INVALID_ARGUMENT: 'Rserve error: The method or operation is not implemented.&lt;/FONT&gt;" The output shows loaded&amp;nbsp;Titanic_data.csv successfully to Titanic table, but some argument error at&amp;nbsp;EchoedColumnsFromR table. I have no idea what is wrong with &lt;/SPAN&gt;&lt;FONT color="#FF9900"&gt;&lt;SPAN&gt;R.ScriptEvalStr('names(q) &amp;lt;- c("sex_echo", "pclass_echo", "survived_echo"); q;', Titanic{ sex, pclass, survived });&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Hope anyone can help to explain what is the root cause and how to resolve it.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I copied the script below for your reference.&lt;/P&gt;&lt;P&gt;Titanic:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;BR /&gt;pclass,&lt;BR /&gt;survived,&lt;BR /&gt;sex,&lt;BR /&gt;"age",&lt;BR /&gt;age_b,&lt;BR /&gt;fare&lt;BR /&gt;FROM [lib://data/Titanic_data.csv]&lt;BR /&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;EchoedColumnsFromR:&lt;BR /&gt;Load * Extension R.ScriptEvalStr('names(q) &amp;lt;- c("sex_echo", "pclass_echo", "survived_echo"); q;', Titanic{ sex, pclass, survived });&lt;/P&gt;&lt;P&gt;// Here you can also see how the fields can be renamed after you get them from R.&lt;BR /&gt;EchoedColumnsFromRrenamed:&lt;BR /&gt;Load&lt;BR /&gt;ID as ID,&lt;BR /&gt;sex as sex_echoed,&lt;BR /&gt;pclass as pclass_echoed&lt;BR /&gt;Extension R.ScriptEvalStr('data.frame(q);', Titanic{ sex, pclass, ID });&lt;/P&gt;&lt;P&gt;// Return a table from R (in one call to to the R plugin) with two columns: SumOfRow, MulOfRow&lt;BR /&gt;SumAndMulOfRowFromRscript:&lt;BR /&gt;Load * Extension R.ScriptEval('q$SumOfRow = q$pclass+q$survived; q$MulOfRow = q$pclass*q$survived; qRes &amp;lt;- within(q, rm(pclass, survived)); qRes;', Titanic{ pclass, survived });&lt;/P&gt;&lt;P&gt;// If you have defined your own functions in the R plugin (FuncDefs.json) then you can call the function below instead of the script variant above&lt;BR /&gt;// SumAndMulOfRowFromRfunction:&lt;BR /&gt;// Load&lt;BR /&gt;// SumOfRow as sum_pclass_survived,&lt;BR /&gt;// MulOfRow as product_pclass_survived&lt;BR /&gt;// Extension R.SumAndMulOfRow(Titanic{ pclass, survived });&lt;/P&gt;&lt;P&gt;Table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;IDT1, String, MyNumber&lt;BR /&gt;0, "a", 10&lt;BR /&gt;1, "b", 11&lt;BR /&gt;2, "c", 12&lt;BR /&gt;3, "d", 13&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;ScalarLoadFromRscript:&lt;BR /&gt;Load&lt;BR /&gt;IDT1 as IDT1,&lt;BR /&gt;// SSE call with the script function 'ScriptEval' passing the ID variable to the plugin&lt;BR /&gt;// Note that the SSE call is scalar from the load script, hence there will be 4 calls (in this case) to the plugin.&lt;BR /&gt;R.ScriptEval('q$IDT1 + 10000;', IDT1) as IDT1FromR&lt;BR /&gt;Resident Table1;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 03:39:44 GMT</pubDate>
    <dc:creator>wenjun2016</dc:creator>
    <dc:date>2019-04-11T03:39:44Z</dc:date>
    <item>
      <title>R Qlik Integration R_BasicExample.qvf</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/R-Qlik-Integration-R-BasicExample-qvf/m-p/1567917#M12662</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying out the example downloaded from Qlik community about R and Qlik Sense integration. The connector is established successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to load in script editor, it shows "&lt;FONT color="#FF0000"&gt;C&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;onnector reply error: grpc::StatusCode::INVALID_ARGUMENT: 'Rserve error: The method or operation is not implemented.&lt;/FONT&gt;" The output shows loaded&amp;nbsp;Titanic_data.csv successfully to Titanic table, but some argument error at&amp;nbsp;EchoedColumnsFromR table. I have no idea what is wrong with &lt;/SPAN&gt;&lt;FONT color="#FF9900"&gt;&lt;SPAN&gt;R.ScriptEvalStr('names(q) &amp;lt;- c("sex_echo", "pclass_echo", "survived_echo"); q;', Titanic{ sex, pclass, survived });&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Hope anyone can help to explain what is the root cause and how to resolve it.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I copied the script below for your reference.&lt;/P&gt;&lt;P&gt;Titanic:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;BR /&gt;pclass,&lt;BR /&gt;survived,&lt;BR /&gt;sex,&lt;BR /&gt;"age",&lt;BR /&gt;age_b,&lt;BR /&gt;fare&lt;BR /&gt;FROM [lib://data/Titanic_data.csv]&lt;BR /&gt;(txt, utf8, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;EchoedColumnsFromR:&lt;BR /&gt;Load * Extension R.ScriptEvalStr('names(q) &amp;lt;- c("sex_echo", "pclass_echo", "survived_echo"); q;', Titanic{ sex, pclass, survived });&lt;/P&gt;&lt;P&gt;// Here you can also see how the fields can be renamed after you get them from R.&lt;BR /&gt;EchoedColumnsFromRrenamed:&lt;BR /&gt;Load&lt;BR /&gt;ID as ID,&lt;BR /&gt;sex as sex_echoed,&lt;BR /&gt;pclass as pclass_echoed&lt;BR /&gt;Extension R.ScriptEvalStr('data.frame(q);', Titanic{ sex, pclass, ID });&lt;/P&gt;&lt;P&gt;// Return a table from R (in one call to to the R plugin) with two columns: SumOfRow, MulOfRow&lt;BR /&gt;SumAndMulOfRowFromRscript:&lt;BR /&gt;Load * Extension R.ScriptEval('q$SumOfRow = q$pclass+q$survived; q$MulOfRow = q$pclass*q$survived; qRes &amp;lt;- within(q, rm(pclass, survived)); qRes;', Titanic{ pclass, survived });&lt;/P&gt;&lt;P&gt;// If you have defined your own functions in the R plugin (FuncDefs.json) then you can call the function below instead of the script variant above&lt;BR /&gt;// SumAndMulOfRowFromRfunction:&lt;BR /&gt;// Load&lt;BR /&gt;// SumOfRow as sum_pclass_survived,&lt;BR /&gt;// MulOfRow as product_pclass_survived&lt;BR /&gt;// Extension R.SumAndMulOfRow(Titanic{ pclass, survived });&lt;/P&gt;&lt;P&gt;Table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;IDT1, String, MyNumber&lt;BR /&gt;0, "a", 10&lt;BR /&gt;1, "b", 11&lt;BR /&gt;2, "c", 12&lt;BR /&gt;3, "d", 13&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;ScalarLoadFromRscript:&lt;BR /&gt;Load&lt;BR /&gt;IDT1 as IDT1,&lt;BR /&gt;// SSE call with the script function 'ScriptEval' passing the ID variable to the plugin&lt;BR /&gt;// Note that the SSE call is scalar from the load script, hence there will be 4 calls (in this case) to the plugin.&lt;BR /&gt;R.ScriptEval('q$IDT1 + 10000;', IDT1) as IDT1FromR&lt;BR /&gt;Resident Table1;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 03:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/R-Qlik-Integration-R-BasicExample-qvf/m-p/1567917#M12662</guid>
      <dc:creator>wenjun2016</dc:creator>
      <dc:date>2019-04-11T03:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: R Qlik Integration R_BasicExample.qvf</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/R-Qlik-Integration-R-BasicExample-qvf/m-p/1736408#M13131</link>
      <description>&lt;P&gt;Hi, please try&amp;nbsp;&lt;A href="https://github.com/qlik-oss/sse-r-plugin/releases/tag/v1.2.1" target="_blank"&gt;v1.2.1&lt;/A&gt;&amp;nbsp;of SSE Plug in.&lt;/P&gt;&lt;P&gt;It Works for me&lt;/P&gt;&lt;P&gt;More information;&amp;nbsp;&amp;nbsp;&lt;A href="https://support.qlik.com/articles/000052026" target="_blank"&gt;https://support.qlik.com/articles/000052026&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/R-Qlik-Integration-R-BasicExample-qvf/m-p/1736408#M13131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-17T14:27:31Z</dc:date>
    </item>
  </channel>
</rss>

