<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>I&#39;m running the following simple R script with interop:</div><div><br></div><div>eval.polyglot(&quot;ruby&quot;, &quot;a1 = [1, 2, 3, 4]&quot;)<br>eval.polyglot(&quot;ruby&quot;, &quot;puts a1&quot;)</div><div><br></div><div>The result is a crash with the log:</div><div><br></div><div>Mon Oct 22 17:13:44 BRT 2018<br>org.truffleruby.language.control.RaiseException: undefined local variable or method `a1&#39; for main:Object (NameError)<br>Caused by: Attached Guest Language Frames (2)<br></div><div><br></div><div>Shouldn&#39;t variable a1 persists between the two polyglot calls?</div><div><br></div><div><br></div><div>Thanks!<br></div><div><br>-- <br><div dir="ltr" class="gmail_signature">Rodrigo Botafogo<br><br></div></div></div></div></div>