[graalvm-users] fastR bug?

Rodrigo Botafogo rodrigo.a.botafogo at gmail.com
Mon Oct 22 13:18:37 PDT 2018


I'm running the following simple R script with interop:

eval.polyglot("ruby", "a1 = [1, 2, 3, 4]")
eval.polyglot("ruby", "puts a1")

The result is a crash with the log:

Mon Oct 22 17:13:44 BRT 2018
org.truffleruby.language.control.RaiseException: undefined local variable
or method `a1' for main:Object (NameError)
Caused by: Attached Guest Language Frames (2)

Shouldn't variable a1 persists between the two polyglot calls?


Thanks!

-- 
Rodrigo Botafogo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-users/attachments/20181022/fe04078c/attachment.html 


More information about the GraalVM-Users mailing list