You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was very happy to discover DaemonMode pkg!
One problem I just encounter is that it fails on eval()
Is this a user error? Can I somehow make it work?
Or is it a bug?
See below for simple example:
$ cat test.jl
println("test the daemon!")
v = eval(Meta.parse("pi"))
println("test the daemon! v= ", v)
$ julia -e 'using DaemonMode; runargs()' test.jl
est the daemon!
31mERROR: LoadError: MethodError: no method matching eval(::Symbol)
Stacktrace:
[1] top-level scope at /private/tmp/test.jl:2
$ julia test.jl
test the daemon!
test the daemon! v= π
$
Thank you. Yes, it is actually a limitation with DaemonMode that I have scheduled to solve, because in several packages (for instance, to use models for MLJ) it is required. I hope to fix in few days.
Dear @rczerminski-valo, I have actually solved the eval problem in a new version 0.1.10. It was a priority for me because loading several models for MLJ was not possible without allowing eval function in DaemonMode. Please, when the new version is available, check it to be sure it is working.
Awesome! I will whenever new version is available.
In the meantime, I have encountered another problem. I am getting: ERROR: LoadError: REvalError: Error in .julia$cmd(paste0(Rhomeset, "Base.include(Main,\"", system.file("julia/setup.jl", :
when I run using DaemonMode. The same script works fine when executed directly. The script is using R code (RCall Julia pkg and JuliaCall R pkg).
I was very happy to discover DaemonMode pkg!
One problem I just encounter is that it fails on eval()
Is this a user error? Can I somehow make it work?
Or is it a bug?
See below for simple example:
Versions:
The text was updated successfully, but these errors were encountered: