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

Provide R bindings #47

Open
ivan-pi opened this issue Feb 26, 2022 · 2 comments
Open

Provide R bindings #47

ivan-pi opened this issue Feb 26, 2022 · 2 comments
Labels
bindings: R API Bindings for R

Comments

@ivan-pi
Copy link
Member

ivan-pi commented Feb 26, 2022

There is a MINPACK wrapper for R called minpack.lm.

It might be interesting to check how many times it has been downloaded and how many R packages depend on it.

Having a C interface also makes the task of writing an R wrapper easier. Perhaps we can get in touch with the authors of that package at some point and ask them to use the new maintained version instead.

@awvwgk awvwgk added the bindings: R API Bindings for R label Mar 5, 2022
@ivan-pi
Copy link
Member Author

ivan-pi commented May 22, 2022

Just noticed the thread from @Beliavsky at Discourse, https://fortran-lang.discourse.group/t/gsoc-improve-nonlinear-least-squares-in-r/1735, on the topic of a GSoC'21 project about "Improving Nonlinear Least Squares in R".

The homepage of the GSoC project is here: https://arkab-ds.github.io/GSOC21-improveNLS/

One of their perceived problems is maintainability of the C/Fortran code used to wrap NLS (https://www.netlib.org/port/). NLS is a least squares code developed around the same time as MINPACK. I just found this to be a compelling example of an R project trying to move away from Fortran for various reasons.

Maybe we could coordinate with the R community on a joint GSoC project to "renew" the R MINPACK interface.

@certik
Copy link
Member

certik commented May 22, 2022

@ivan-pi do you want to take a lead on this? I think it would be great if we can tap into the R community and collaborate.

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

No branches or pull requests

3 participants