<?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: Problem with the R Plugin in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416146#M14359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the documentation can be found here &lt;A href="https://github.com/qlik-oss/server-side-extension/blob/master/docs/writing_a_plugin.md#script-evaluation" title="https://github.com/qlik-oss/server-side-extension/blob/master/docs/writing_a_plugin.md#script-evaluation"&gt;server-side-extension/writing_a_plugin.md at master · qlik-oss/server-side-extension · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Josefine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2018 08:50:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-08T08:50:51Z</dc:date>
    <item>
      <title>Problem with the R Plugin</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416142#M14355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Sense Server November 2017 release. I have installed the R Plugin and I am able to run the R examples provided. So, apparently the plugin is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I try to use it with my own data I am not able to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I add a text object and write the following expression, I get no result. Not even an error, just a blank text. There are absolutely no blank values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R.ScriptEval('mean(q$BMI);', BMI)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue number 2:&lt;/P&gt;&lt;P&gt;When I try to execute an R command in the script, I get this error "&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 13px; background-color: rgba(255, 38, 38, 0.2);"&gt;Client specified an invalid argument.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code. The source R file runs fine in R Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;TempR:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD '$(vRSource)' As RSource&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;R.ScriptEvalStr('source(q$RSource);', RSource) as R_Output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident TempR;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416142#M14355</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-11-16T09:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the R Plugin</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416143#M14356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. As I noticed in all examples when they indicate data they write like this: BMI &lt;STRONG&gt;as bmi&lt;/STRONG&gt;. I am&amp;nbsp; not sure if it matters but if there are no other ideas I would try.&lt;/P&gt;&lt;P&gt;2. For aggregations you need to use aggregate versions of the function:&lt;/P&gt;&lt;P&gt;R.ScriptAggr('mean(q$BMI);' BMI as BMI)&lt;/P&gt;&lt;P&gt;3. You need to be careful when using Str version of the function and passing numerical data. Maybe you could use:&lt;/P&gt;&lt;P&gt;R.ScriptEvalExStr('N', 'source(q$RSource);', RSource as RSource)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 09:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416143#M14356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-27T09:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the R Plugin</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416144#M14357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Issue number 2:&lt;/P&gt;&lt;P&gt;Qlik always expect some value to be returned from SSE and actually the source R function does not return anything unless the parameter echo = TRUE.&lt;/P&gt;&lt;P&gt;So the following should work for you:&lt;/P&gt;&lt;P&gt;R.ScriptEvalStr('source(toString(q$RSource[1]), echo = TRUE);', RSource) as R_Output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 00:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416144#M14357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-16T00:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the R Plugin</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416145#M14358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any documentation for these R.Script functions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 19:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416145#M14358</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2018-02-07T19:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the R Plugin</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416146#M14359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the documentation can be found here &lt;A href="https://github.com/qlik-oss/server-side-extension/blob/master/docs/writing_a_plugin.md#script-evaluation" title="https://github.com/qlik-oss/server-side-extension/blob/master/docs/writing_a_plugin.md#script-evaluation"&gt;server-side-extension/writing_a_plugin.md at master · qlik-oss/server-side-extension · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Josefine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 08:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-with-the-R-Plugin/m-p/1416146#M14359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-08T08:50:51Z</dc:date>
    </item>
  </channel>
</rss>

