Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How return julia println info in R? #194

Open
junjunlab opened this issue May 4, 2023 · 0 comments
Open

How return julia println info in R? #194

junjunlab opened this issue May 4, 2023 · 0 comments

Comments

@junjunlab
Copy link

Hi, thanks for this great package. I found the println function does not show in R when I use julia_eval. Can you give some tips? Here is my code:

julia script:

function func(;a=1,b=2)
    println("hhh")
    return a + b
end

R code:

julia_eval('include("./test.jl")')
func <- julia_eval('func')
func(a = 1,b = 2)
# [1] 3

The output only returns 3 without println info. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant