<?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="1494394070785" uid="dd4517ffb670b5e4" 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="1494394070789" uid="44f23d8b5b4e1916" x="-20" y="220">
			<command>i &lt;- 0</command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
		</node>
		<node id="2" date="1494394070782" uid="e02874b4cea8f654" 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">ifボックスはif構文を表します。</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.IfNodeModel">
				<entry key="condition">i &gt; 0</entry>
				<subflow>
					<graph version="0.9" width="1076" height="267" locationtype="a" offsetx="50" offsety="100">
						<node id="3" date="1494394070779" uid="a172f37aea7d58b2" 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="4" date="1494394070779" uid="ded347cbfacbf0bd" 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="5" date="1494394070779" uid="5a1ccf26597a4489" 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="5" to="4"/>
						<edge from="4" to="3"/>
					</graph>
				</subflow>
				<subflow>
					<graph version="0.9" width="1076" height="267" locationtype="a" offsetx="50" offsety="100">
						<node id="6" date="1494394070779" uid="f0a04eeaa6e4097c" 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="7" date="1494394070779" uid="70273740a4389172" 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="1494394070781" uid="b140b6137e185c56" 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">else部分にフローがない場合、単純なif文として動作します。</entry>
							</option>
						</node>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="9" date="1494394070788" uid="69113943da3f2ce4" x="350" y="210">
			<command>while (i &gt; 0) {
	print(i)
	
	i &lt;- i - 1
}</command>
			<packages/>
			<property>
				<comment state="closed" x="-130" y="-57">whileボックスはwhileループを表します。</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="1082" height="295" locationtype="a" offsetx="50" offsety="100">
						<node id="10" date="1494394070786" uid="5f7ced249e16477a" 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="11" date="1494394070787" uid="72b606bc59ace656" x="60" y="0">
							<command>print(i)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="12" date="1494394070786" uid="a5adfc03b4c95740" x="130" y="0">
							<command>i &lt;- i - 1</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="13" date="1494394070786" uid="b874d1b7212a0ca6" 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="11" to="12"/>
						<edge from="13" to="11"/>
						<edge from="12" to="10"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="14" date="1494394070786" uid="2d9a848fb7b1176b" 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">特殊ボックスは関数定義や条件分岐、ループを表します。
右クリック &gt; 特殊ボックスを作成 から作成することができます。</entry>
			</option>
		</node>
		<node id="15" date="1494394070789" uid="ecf55809c18ef22a" x="260" y="270">
			<command>i &lt;- 0</command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
		</node>
		<node id="16" date="1494394070785" uid="c6fe5db67d9151f5" 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">else部分フローを持つifボックスです。</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.IfNodeModel">
				<entry key="condition">i &gt; 0</entry>
				<subflow>
					<graph version="0.9" width="1076" height="267" locationtype="a" offsetx="50" offsety="100">
						<node id="17" date="1494394070783" uid="2bb91e38705cfc08" 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="18" date="1494394070783" uid="b9a708a811a14770" 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="19" date="1494394070783" uid="48dbc20231f80233" 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="18" to="17"/>
						<edge from="19" to="18"/>
					</graph>
				</subflow>
				<subflow>
					<graph version="0.9" width="1076" height="267" locationtype="a" offsetx="50" offsety="100">
						<node id="20" date="1494394070783" uid="2df426567f11f0ed" 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="21" date="1494394070783" uid="34bafe10bf443d4b" 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="22" date="1494394070783" uid="42f530c29295c948" 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="21" to="22"/>
						<edge from="20" to="21"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="23" date="1494394070790" uid="bacbcd5ea81d715f" 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">関数ボックスは関数を定義します。</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="662" height="229" locationtype="a" offsetx="50" offsety="50">
						<node id="24" date="1494394070790" uid="e5496e94e62c9840" x="80" y="0">
							<command>z &lt;- x + y</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="25" date="1494394070790" uid="a341a0b33700d403" x="160" y="140">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<node id="26" date="1494394070790" uid="bdd930aec0c9f0dc" 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="27" date="1494394070790" uid="4512cc9b1d1521ba" x="80" y="140">
							<command>return(z)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="28" date="1494394070790" uid="9b36f89467e393da" 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="27" to="25"/>
						<edge from="24" to="26"/>
						<edge from="26" to="27"/>
						<edge from="28" to="24"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="29" date="1494394070790" uid="16bb97b936c9bd9a" x="260" y="210">
			<command>i &lt;- 3</command>
			<packages/>
			<property/>
			<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
		</node>
		<node id="30" date="1494394070785" uid="84793d94e89f91b5" 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">repeatボックスはrepeatループを表します。</comment>
			</property>
			<option type="com.ef_prime.rflow.node.base.LoopNodeModel">
				<entry key="loop">repeat</entry>
				<subflow>
					<graph version="0.9" width="1082" height="319" locationtype="a" offsetx="50" offsety="100">
						<node id="31" date="1494394070785" uid="a3dcd37926b1eacd" x="170" y="0">
							<command>if (i &gt; 3) break</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="32" date="1494394070785" uid="6fbb819a110e9393" x="80" y="0">
							<command>i &lt;- i + 1</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="33" date="1494394070785" uid="82a990eb10fb7c32" 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="34" date="1494394070785" uid="cfc9450a4e955a3e" x="250" y="0">
							<command></command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.TunnelNodeModel">
								<entry key="io">out</entry>
							</option>
						</node>
						<edge from="31" to="34"/>
						<edge from="33" to="32"/>
						<edge from="32" to="31"/>
					</graph>
				</subflow>
			</option>
		</node>
		<node id="35" date="1494394070779" uid="551ea0e1236ceb1e" x="270" y="110">
			<command>for (i in 1:3) {
	print(i)
}</command>
			<packages/>
			<property>
				<comment state="closed" x="-50" y="-60">forボックスはforループを表します。</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="1082" height="295" locationtype="a" offsetx="50" offsety="100">
						<node id="36" date="1494394070779" uid="6a6f3240b4c0779c" x="100" y="0">
							<command>print(i)</command>
							<packages/>
							<property/>
							<option type="com.ef_prime.rflow.node.base.FreeNodeModel"/>
						</node>
						<node id="37" date="1494394070778" uid="8d78bb5d0e0065c6" 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="1494394070779" uid="90df067727ae3ec3" 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="38" to="36"/>
						<edge from="36" to="37"/>
					</graph>
				</subflow>
			</option>
		</node>
		<edge from="15" to="30"/>
		<edge from="1" to="2"/>
		<edge from="23" to="0"/>
		<edge from="29" to="9"/>
		<edge from="1" to="16"/>
	</graph>
	<task>
		<taskgroup>
			<taskproperty/>
		</taskgroup>
	</task>
</rflow>
