<?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 Update a Variable using R in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-a-Variable-using-R/m-p/1435883#M14430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable vTemp that i would like to update during the execution of an R script. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=R.ScriptAggrStr( 'd&amp;lt;-as.data.frame(cbind(q$ph,q$ind));&amp;nbsp; q$vTemp&amp;lt;-SOME_VALUES ;&amp;nbsp; print(as.character(d[,2]))', &lt;BR /&gt;[INDICATION] as ind,&lt;BR /&gt;[PHASE] as ph,&lt;BR /&gt; vTemp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I like to obtain is that at the end of the execution SOME_VALUES will be stored in the variable vTemp. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:14:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:14:39Z</dc:date>
    <item>
      <title>Update a Variable using R</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-a-Variable-using-R/m-p/1435883#M14430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable vTemp that i would like to update during the execution of an R script. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=R.ScriptAggrStr( 'd&amp;lt;-as.data.frame(cbind(q$ph,q$ind));&amp;nbsp; q$vTemp&amp;lt;-SOME_VALUES ;&amp;nbsp; print(as.character(d[,2]))', &lt;BR /&gt;[INDICATION] as ind,&lt;BR /&gt;[PHASE] as ph,&lt;BR /&gt; vTemp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I like to obtain is that at the end of the execution SOME_VALUES will be stored in the variable vTemp. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-a-Variable-using-R/m-p/1435883#M14430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update a Variable using R</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Update-a-Variable-using-R/m-p/1435884#M14431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this but would need a client side extension to perform the setting of a variable from the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 11:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Update-a-Variable-using-R/m-p/1435884#M14431</guid>
      <dc:creator>Steven_Pressland</dc:creator>
      <dc:date>2017-10-09T11:28:12Z</dc:date>
    </item>
  </channel>
</rss>

