-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Add support for R language #31
Comments
You can checkout the
you should prepare a Dockerfile and an entry programe (app.rb), then call a a simple function defined in fx.rb. then if everything works well when you do docker run to test your function, you can make PR, I will include your change into fx. |
@flaviobarros I initialize it, but with some small issue, I will fix it soon. https://github.com/metrue/fx/tree/support-R/images/R basically, it has some issues in package installation of R's install_packages('jug') |
I am trying to support R, but I could make it work since dependencies issue. basically, the problem is the i still could not find the library event they are installed. |
Sorry for the delay. I guess the simplest solution would be a go server and an R app taking input from stdin and outputing to stdout |
Yeah, I want to do in that way for other languages support at first, but when we do that it's not possible to deploy some function that has dependencies ( I mean when a function will require third party library installed first ) , but if we do it in independent Docker container, we have possibilities. |
I would also suggest to start a container passing stdin and then get the stdout+stderr when it closes (or is closed from fx by a timeout). This would make callable functions any container handling I/O exchange |
How could I add support for the R language?
The text was updated successfully, but these errors were encountered: