3 ms·
I'm an R and sometimes Julia user, although not Python. Can you offer some examples of how Mathematica surpasses open source alternatives in those areas you've
by phillc73 7y ago
I'm an R and sometimes Julia user, although not Python. Can you offer some examples of how Mathematica surpasses open source alternatives in those areas you've mentioned?
- armitron 7y agoIt's hard to convey what I mean exactly by listing features, it's best if you use it yourself. Next best thing is to watch an expert use it. Wolfram has released good videos to that end, here's the latest: https://www.twitch.tv/videos/569938853 https://www.twitch.tv/videos/569938853 I find R to also be a lot better than Python and closer to Mathematica (especially if you combine it with RStudio and Shiny) but still not quite as good overall on the interactivity/environment end.
- ur-whale 7y agoHow much symbolic computation can you do with R?
- phillc73 7y agoThere are several functions in base R for differentiation, integration, solving system of equations, etc. E.g. `solve`, `stats::D`, `stats::deriv`, `stats::integrate`, `stats::numericDeriv`. R package Deriv for symbolic differentiation, it allows user to supply custom rules for differentiation.[1] R package numDeriv[2] for calculating numerical approximations to derivatives. R package gmp[3] and Rmpfr[4] provide multiple precision arithmetic and floating point operations. They also include some special functions, e.g. Rmpfr::integrateR for numerical integration. R package mpc[5] available at R forge. It provides multiple precision arithmetic for complex numbers. R package rSymPy[6] provides an interface to ‘SymPy’ library in python via rJava. R package Ryacas[7] provides an interface to the ‘Yacas’ computer algebra system. It is easier to install compared to `rSymPy`. R package symengine[8] is an R interface to the SymEngine C++ library for symbolic computation. [1] https://cran.r-project.org/web/packages/Deriv/index.html https://cran.r-project.org/web/packages/Deriv/index.html [2] https://cran.r-project.org/web/packages/numDeriv/index.html https://cran.r-project.org/web/packages/numDeriv/index.html [3] https://cran.r-project.org/web/packages/gmp/index.html https://cran.r-project.org/web/packages/gmp/index.html [4] https://cran.r-project.org/web/packages/Rmpfr/index.html https://cran.r-project.org/web/packages/Rmpfr/index.html [5] http://mpc.r-forge.r-project.org/ http://mpc.r-forge.r-project.org/ [6] https://cran.r-project.org/web/packages/rSymPy/index.html https://cran.r-project.org/web/packages/rSymPy/index.html [7] https://cran.r-project.org/web/packages/Ryacas/index.html https://cran.r-project.org/web/packages/Ryacas/index.html [8] https://github.com/symengine/symengine.R https://github.com/symengine/symengine.R
- jrumbut 7y agoI use R much more often than Mathematica and think is great for many reasons, but there are places where Mathematica is on another level. My mathematical maturity isn't high enough to really get how it's done or describe it well, but Mathematica has a way of being shockingly consistent across concepts and has pretty thorough documentation that can even help you learn the topics. R is very inconsistent even in the internal library, and documentation quality runs from best around to worse than no documentation. There are also little nifty things like for image processing you can have a hard coded image show up in your code (I like plain text better but it's cool and future-techy). Distributions (as in normal, binomial, Poisson, etc) are a type and PDFs and CDFs can be obtained from them consistently rather than having to remember the different parameters of dnorm, dbinorm, etc. I would love a real Mathematica expert to give us more. That's the real drawback of the closed ecosystem there is so much less information about it out there, fewer code samples, etc.
- phillc73 7y agoGreat information, thanks. I do totally agree about documentation for R libraries. It can be very hit and miss.
- orbifold 7y agoNone of those can beat it in symbolic computation. You can write entire papers, by simply asking yourself the question: I wonder if this has an analytical integral? If you are lucky Mathematica spits out a solution in terms of a special function.
- lonelappde 7y agoWhy hasn't Wolfram automatically published all those papers? Or sell a paper-generating plugin?
- abdullahkhalids 7y agoBecause the most important part of the paper is formulating the question it is answering, and stating why asking that question is interesting and useful. That is not something anything short of AGI can do.