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

call julia from R #77

Open
memoiry opened this issue Mar 9, 2017 · 2 comments
Open

call julia from R #77

memoiry opened this issue Mar 9, 2017 · 2 comments

Comments

@memoiry
Copy link

memoiry commented Mar 9, 2017

Hi

I have found that there is an intent to call julia from r in todo.md.

There is a r package https://github.com/armgong/rjulia enabling us to call julia from r。 Is that a feasible choise for this project? I would like to assist if the problem is still existing.

@madeleineudell
Copy link
Owner

Hello! Yes, this is still something we'd love to be able to do. Ideally, we'd make it easy for R users to call all the documented functions from LowRankModels, using an API that's natural in R; and there'd be documentation on how to use the package from R.

It looks like you could use rjulia to do the job; but you'd want to write wrappers in R to make the calls seem more natural to R users, and you'd want to write documentation to go along with it.

Also, I'd caution you that the rjulia interface claims that it may break upon julia version upgrades - so it's possible it would be a good idea to wait until Julia 1.0 comes out this summer before beginning the project. Or, you could contact the rjulia developed to ask about the stability of that project these days, since julia is much more stable now than it was even a year ago.

@Non-Contradiction
Copy link

There are also some other R packages to call Julia from R
XRJulia, which is created by the creator of the S programming language.
and
JuliaCall, which is created by myself.

They are both on CRAN, so these two packages are accessible to most R users.

I have created an R package called convexjlr, which is a wrapper package for Convex.jl. It could use either XRJulia or JuliaCall.

Maybe a similar approach could be taken to write an R wrapper for LowRankModels.jl?

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

No branches or pull requests

3 participants