-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Rename libRmath to libRmath-julia #5524
Comments
This should make it easier to ship julia in linux distros by avoiding the conflict with R's libRmath. Cc: @nalimilan @sebastien-villemot |
+1 I'm impressed that I had the reflexes to reference this issue immediately. Good work, me. ;) |
+1 It would be great to remove this ASAP. |
I'm cool with this if @simonbyrne is willing to have Distributions depend on RMathDist until we finish our work to remove all dependency on Rmath. |
@johnmyleswhite As it stands, RmathDist.jl actually depends on Distriibutions.jl (as it borrows its interface). My thought was that perhaps users who need the functionality that has yet to be finished (such as noncentral distributions) could use that until we're up to speed. I think doing it the other way around (i.e. making Distributions.jl depend on RmathDist.jl) would be a lot of extra hassle, especially since its only meant to be a temporary measure. |
Would be nice to have a checklist of functions from libRmath that need to be replaced... I don't see any usages in |
@stevengj As far as I know, it isn't used Base at all, and the only package to use it is Distributions.jl. |
I propose that we rename @johnmyleswhite Will this lead to an extra barrier in terms of adoption of Julia for stats? Building something through BinDeps is something that only a small percentage of our users will be able to do successfully. Thinking about this a bit more, I think that renaming the file will fix the conflict with R on various distros, but we should only remove it from Base once |
Shipping a renamed libRmath seems like a great solution to me. I think we can probably get rid of Rmath by the 0.4 release. |
@johnmyleswhite If I just rename it - could you update any packages that depend on it? |
Fixed in 94ebea0 |
@sebastien-villemot @staticfloat @nalimilan The renaming of libRmath to libRmath-julia should remove any conflicts that the julia installation has with any other system provided files. |
@johnmyleswhite I have updated Distributions. Perhaps we need to do a version bump? Would be great if you can try it out and bump. |
Thanks, Viral! This seems to work except for some weird warnings about |
|
@ViralBShah Actually I don't really care about the name of the library since it's installed in a private dir. (Of course it's cleaner to change the name since the code is slightly different from upstream.) |
I think the big compatibility problem is the header names. And those are
|
@johnmyleswhite I have taken care of the |
Should I bump the Distributions version number? |
@nalimilan Good to know that it is in a private place, but I think this makes things clearer. |
I would like to remove the Rmath build to be removed from julia. Eventually, Rmath dependency can be completely removed as discussed in this PR, but until then, it can be made available through RmathDist.jl.
JuliaStats/Distributions.jl#138
[ViralBShah: Originally this discussion started with removing Rmath, but we decided to just change the filename and remove Rmath in 0.4]
The text was updated successfully, but these errors were encountered: