<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rflow [
<!ENTITY lt "&#38;#60;">
<!ENTITY gt "&#62;">
<!ENTITY amp "&#38;#38;">
<!ENTITY apos "&#39;">
<!ENTITY quot "&#34;">
]>
<rflow>
	<graph version="0.9" width="929" height="323" locationtype="a" offsetx="61" offsety="40">
		<setting>
			<entry key="USE_GRID">true</entry>
			<entry key="FOLDER">Special_Box</entry>
			<entry key="GRID_DISTANCE2">10</entry>
		</setting>
<properties>
<v key="packages"/>
</properties>
		<node id="0" date="1494394069701" uid="7ae80bddb61a7a91" x="80" y="110">
			<command>ans &lt;- myfun(x = 1, y = 2)</command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
		</node>
		<node id="1" date="1494394069688" uid="744d0a3719310e38" x="270" y="110">
			<command>for (i in 1:3) {
	print(i)
}</command>
			<packages/>
			<property>
				<comment state="opened" x="-50" y="-60">&quot;For&quot; box represents a for loop.</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.LoopNodeModel">
				<entry key="loop">for</entry>
				<entry key="condition">i in 1:3</entry>
<entryset>
<v key="var">i</v>
<v key="range">1:3</v>
</entryset>
				<subflow>
					<graph version="0.9" width="573" height="385" locationtype="a" offsetx="50" offsety="100">
						<node id="2" date="1494394069687" uid="6c47e2537eb40cb3" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<node id="3" date="1494394069687" uid="9d4b8d89104c053b" x="100" y="0">
							<command>print(i)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="4" date="1494394069687" uid="21cbd851fb8714db" x="200" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<edge from="2" to="3"/>
						<edge from="3" to="4"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="5" date="1494394069703" uid="c54417eeabadf99" x="350" y="270">
			<command>repeat {
	i &lt;- i + 1
	
	if (i &gt; 3) break
}</command>
			<packages/>
			<property>
				<comment state="closed" x="-130" y="40">&quot;Repeat&quot; box.</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.LoopNodeModel">
				<entry key="loop">repeat</entry>
				<subflow>
					<graph version="0.9" width="364" height="178" locationtype="a" offsetx="50" offsety="100">
						<node id="6" date="1494394069703" uid="6bc28a34ce32f9b4" x="250" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<node id="7" date="1494394069703" uid="3b9b940c7db764c6" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<node id="8" date="1494394069703" uid="25977db218ac0571" x="80" y="0">
							<command>i &lt;- i + 1</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="9" date="1494394069703" uid="c97ab891c619a5b" x="170" y="0">
							<command>if (i &gt; 3) break</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<edge from="7" to="8"/>
						<edge from="8" to="9"/>
						<edge from="9" to="6"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="10" date="1494394069692" uid="40ecd588a8e30295" x="-20" y="220">
			<command>i &lt;- 0</command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
		</node>
		<node id="11" date="1494394069697" uid="899d3903ad96615" x="-10" y="110">
			<command>myfun &lt;- function(x, y, show.answer = TRUE) {
	z &lt;- x + y
	
	if (show.answer) cat(x, &quot;+&quot;, y, &quot;=&quot;, z, &quot;\n&quot;)
	
	return(z)
}</command>
			<packages/>
			<property>
				<comment state="opened" x="-30" y="-60">A function box defines a function.</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.FunctionNodeModel">
				<entry key="function">myfun</entry>
				<entry key="args">(x, y, show.answer = TRUE)</entry>
<entryset>
<v key="name">myfun</v>
<v key="args">
<row>
<v>x</v>
<v/>
</row>
<row>
<v>y</v>
<v/>
</row>
<row>
<v>show.answer</v>
<v>TRUE</v>
</row>
</v>
</entryset>
				<subflow>
					<graph version="0.9" width="341" height="473" locationtype="a" offsetx="50" offsety="50">
						<node id="12" date="1494394069694" uid="4d723c2055c908b8" x="80" y="70">
							<command>if (show.answer) cat(x, &quot;+&quot;, y, &quot;=&quot;, z, &quot;\n&quot;)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="13" date="1494394069695" uid="95ea8d6d5904e4a7" x="80" y="0">
							<command>z &lt;- x + y</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="14" date="1494394069694" uid="7eddc8595d859d5c" x="80" y="140">
							<command>return(z)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="15" date="1494394069695" uid="942f2d6341fa5a52" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<node id="16" date="1494394069695" uid="18b5fc30b40ba534" x="160" y="140">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<edge from="14" to="16"/>
						<edge from="12" to="14"/>
						<edge from="13" to="12"/>
						<edge from="15" to="13"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="17" date="1494394069693" uid="95f121ac3ae318d3" x="260" y="270">
			<command>i &lt;- 0</command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
		</node>
		<node id="18" date="1494394069692" uid="bcc9d26f9400e53" x="70" y="270">
			<command>if (i &gt; 0) {
	print(&quot;i &gt; 0&quot;)
} else {
	print(&quot;i &lt;= 0&quot;)
}</command>
			<packages/>
			<property>
				<comment state="opened" x="-110" y="40">&quot;If&quot; box with &quot;else&quot; subflow.</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.IfNodeModel">
				<entry key="condition">i &gt; 0</entry>
				<subflow>
					<graph version="0.9" width="542" height="425" locationtype="a" offsetx="50" offsety="100">
						<node id="19" date="1494394069689" uid="9789975a408a4929" x="100" y="0">
							<command>print(&quot;i &gt; 0&quot;)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="20" date="1494394069689" uid="4178eed75a71cda6" x="200" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<node id="21" date="1494394069689" uid="d3c798ef3705963a" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<edge from="21" to="19"/>
						<edge from="19" to="20"/>
					</graph>
				</subflow>
				<subflow>
					<graph version="0.9" width="542" height="425" locationtype="a" offsetx="50" offsety="100">
						<node id="22" date="1494394069689" uid="9608c0acfc79f2eb" x="100" y="0">
							<command>print(&quot;i &lt;= 0&quot;)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="23" date="1494394069689" uid="d383bcea96863d8b" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<node id="24" date="1494394069689" uid="2f93f1136a037657" x="200" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<edge from="23" to="22"/>
						<edge from="22" to="24"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="25" date="1494394069682" uid="46b259930273b144" x="260" y="210">
			<command>i &lt;- 3</command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
		</node>
		<node id="26" date="1494394069694" uid="47708264dd921f2a" x="-40" y="-20">
			<command></command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.CommentNodeModel">
				<entry key="state">opened</entry>
				<entry key="comment">Special boxes represent function definitions or control flows as loops.
They can be created by Right-click &gt; New Special Box.</entry>
			</option>
		</node>
		<node id="27" date="1494394069686" uid="e93d4ed25244cf96" x="350" y="210">
			<command>while (i &gt; 0) {
	print(i)
	
	i &lt;- i - 1
}</command>
			<packages/>
			<property>
				<comment state="closed" x="0" y="-60">&quot;While&quot; box.</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.LoopNodeModel">
				<entry key="loop">while</entry>
				<entry key="condition">i &gt; 0</entry>
				<subflow>
					<graph version="0.9" width="318" height="212" locationtype="a" offsetx="50" offsety="100">
						<node id="28" date="1494394069683" uid="8eaa04c0d15a58e0" x="60" y="0">
							<command>print(i)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="29" date="1494394069683" uid="56e529f47faac29" x="130" y="0">
							<command>i &lt;- i - 1</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="30" date="1494394069683" uid="1a742dc9874d97c7" x="200" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<node id="31" date="1494394069683" uid="2286aa1cca9b5cee" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<edge from="29" to="30"/>
						<edge from="28" to="29"/>
						<edge from="31" to="28"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="32" date="1494394069701" uid="6774066e81a8b297" x="70" y="220">
			<command>if (i &gt; 0) {
	print(&quot;i &gt; 0&quot;)
}</command>
			<packages/>
			<property>
				<comment state="opened" x="-110" y="-60">&quot;If&quot; box represents an if control structure.</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.IfNodeModel">
				<entry key="condition">i &gt; 0</entry>
				<subflow>
					<graph version="0.9" width="542" height="425" locationtype="a" offsetx="50" offsety="100">
						<node id="33" date="1494394069698" uid="f0ca5952168aca1f" x="100" y="0">
							<command>print(&quot;i &gt; 0&quot;)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="34" date="1494394069698" uid="c1dd4e961448c8b" x="200" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<node id="35" date="1494394069698" uid="ba4f90def678fe78" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<edge from="35" to="33"/>
						<edge from="33" to="34"/>
					</graph>
				</subflow>
				<subflow>
					<graph version="0.9" width="542" height="425" locationtype="a" offsetx="50" offsety="100">
						<node id="36" date="1494394069698" uid="78e4e77411de14c9" x="0" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">in</entry>
							</option>
						</node>
						<node id="37" date="1494394069698" uid="1b70cf011362301e" x="200" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<node id="38" date="1494394069699" uid="6ef9aebedfd4b9a2" x="-10" y="-70">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.CommentNodeModel">
								<entry key="state">opened</entry>
								<entry key="comment">If there is no flow in else tab it works as a simple if sentence.</entry>
							</option>
						</node>
					</graph>
				</subflow>
			</option>
		</node>
		<edge from="25" to="27"/>
		<edge from="10" to="32"/>
		<edge from="10" to="18"/>
		<edge from="11" to="0"/>
		<edge from="17" to="5"/>
	</graph>
	<task>
		<taskgroup>
			<taskproperty/>
		</taskgroup>
	</task>
</rflow>
