r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

Show parent comments

33

u/koobear Aug 05 '19

Meanwhile, us R users are sitting in a corner somewhere by ourselves.

41

u/tunisia3507 Aug 05 '19

And there you can stay.

14

u/koobear Aug 05 '19

More library paste for us!

23

u/Alexanderdaawesome Aug 05 '19

Virgin R vs. Chad Julia

0

u/[deleted] Aug 05 '19

[deleted]

17

u/[deleted] Aug 06 '19

That depends. Are you mainly a programmer or mainly a statistician? Because statisticians love R whereas a professional programmer literally wrote a novel about everything in R that drives him crazy.

5

u/brews import os; while True: os.fork() Aug 06 '19

To be fair, I rather write shit in R than in MATLAB.

Like, does MATLAB even have proper unit testing and CI?

0

u/[deleted] Aug 06 '19

[deleted]

9

u/[deleted] Aug 06 '19

If Excel and VB for making stats stuff are your points of reference then R is probably going to seem amazing.

2

u/SigmaStigma Aug 06 '19

Is that who wrote R inferno?

1

u/cookiemonster1020 Aug 06 '19

A lot of statisticians dont like R. In the early days there was a debate over whether to adapt the S language or go with a better alternative. For legacy purposes they chose the clunky S. My department chair when I was in a stats department really disliked R. I'm the odd duck applied mathematician and statisticians that dislikes both R and matlab. I also am not hot on Julia because it is so Matlab like though I use it a lot nowadays.

2

u/Deto Aug 06 '19

If this isnt a thing you are distributing (and so you don't care about the size of dependencies) you can use R and Python and just call into R from Python using rpy2. Better to do that if you don't know R already rather than have to build the whole system in it

1

u/brews import os; while True: os.fork() Aug 06 '19

Go get yourself a copy of "The art of R programming" if you actually need to do proper programming in R.