<?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: Run Basic .R Script in Qlik Sense in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1545537#M14408</link>
    <description>&lt;P&gt;Use the R.ScriptEvalStr function instead since you are exporting the elapsed time as a string. i found this while trying to use a word cloud based on text loaded from other tables and ran into the same problem and get my wordcloud.png generated via this script:&lt;/P&gt;
&lt;P&gt;SET RSource='c:\weaknessscript.r';&lt;/P&gt;
&lt;P&gt;R:&lt;BR /&gt;LOAD *,&lt;BR /&gt;R.ScriptEvalStr('starttime &amp;lt;- proc.time(); source(q$RSource); elapsed &amp;lt;- proc.time()-starttime; toString(unname(elapsed["elapsed"]));', RSource) as [Elapsed Time];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;'$(RSource)' as RSource&lt;BR /&gt;Autogenerate 1;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2019 20:29:33 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2019-02-17T20:29:33Z</dc:date>
    <item>
      <title>Run Basic .R Script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427041#M14404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run a basic R script that does text mining for the I Have A Dream speech (see attached). I am trying to have Qlik both run the R script and have Qlik pick up the output for visualization (high frequency words). The SSE plugin is installed and although I have successfully test the R.ScriptEval and R.ScriptAggr functions, I am having difficulty testing this more intermediate level use case. Any guidance will be helpful. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427041#M14404</guid>
      <dc:creator />
      <dc:date>2024-11-16T09:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run Basic .R Script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427042#M14405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Kwon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you have a look at Brian Bauers post: &lt;A href="https://community.qlik.com/docs/DOC-19068"&gt;Qlik AAI Load Script Example - R (Qlik Sense and QlikView)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This may be what you're looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427042#M14405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-27T15:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Run Basic .R Script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427043#M14406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have studied Brian Bauer's post and have successfully run the Comorbidity app (very helpful). I tried to mimic the script logic using the following script below but encounter an argument error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET QvWorkPath='C:\QlikWarehouse\POC Development\Comorbidity\Qlik AAI Load Script Example - R';&lt;/P&gt;&lt;P&gt;SET RSource='$(QvWorkPath)\R\MLKJR.R';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;R.ScriptEval('starttime &amp;lt;- proc.time(); source(q$RSource); elapsed &amp;lt;- proc.time()-starttime; toString(unname(elapsed["elapsed"]));', RSource) as [Elapsed Time];&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;'$(RSource)' as RSource&lt;/P&gt;&lt;P&gt;Autogenerate 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 16:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427043#M14406</guid>
      <dc:creator />
      <dc:date>2017-09-27T16:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Run Basic .R Script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427044#M14407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to do this is real time as a chart expression (with changes based upon selection), then to get a different granularity of input data to output data then the best way is to use an AGGR function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as per the previous answer, if you just need it as a one time thing against the whole data set, then running in the script is a better option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 11:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1427044#M14407</guid>
      <dc:creator>Steven_Pressland</dc:creator>
      <dc:date>2017-10-09T11:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Run Basic .R Script in Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1545537#M14408</link>
      <description>&lt;P&gt;Use the R.ScriptEvalStr function instead since you are exporting the elapsed time as a string. i found this while trying to use a word cloud based on text loaded from other tables and ran into the same problem and get my wordcloud.png generated via this script:&lt;/P&gt;
&lt;P&gt;SET RSource='c:\weaknessscript.r';&lt;/P&gt;
&lt;P&gt;R:&lt;BR /&gt;LOAD *,&lt;BR /&gt;R.ScriptEvalStr('starttime &amp;lt;- proc.time(); source(q$RSource); elapsed &amp;lt;- proc.time()-starttime; toString(unname(elapsed["elapsed"]));', RSource) as [Elapsed Time];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;'$(RSource)' as RSource&lt;BR /&gt;Autogenerate 1;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 20:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Run-Basic-R-Script-in-Qlik-Sense/m-p/1545537#M14408</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2019-02-17T20:29:33Z</dc:date>
    </item>
  </channel>
</rss>

