Python vs R in data science | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python vs R in data science

I wonder what you guys have to say about R vs Python in data science. A teacher currently told me that I should learn R cause that's what data scientists mainly use. He said I could learn python later, but first I need to know R. Do you agree?

27th Jan 2017, 8:25 PM
Moritz-Ivo Will
Moritz-Ivo Will - avatar
6 Answers
+ 2
I would suggest to start with Python since it mostly has (through Pandas and Numpy) whatever R has for data science and a lot more for everything else. Python is beautiful language and very useful in almost every field which is not the case with R language. Python is also better suited for Machine Learning, Robotics, Computer vision, Natural language processing, Web Apps programming, etc... while R mainly remains confined to Statistical Analysis at which it is still unbeatable.
21st Feb 2017, 3:57 PM
Anis Matar
Anis Matar - avatar
+ 1
R is more prevalent in academics. Both are desirable otherwise, although in my experience Python is a bit more marketable.
17th Feb 2017, 8:24 PM
Alan Ward
Alan Ward - avatar
0
anyone?
28th Jan 2017, 3:13 PM
Moritz-Ivo Will
Moritz-Ivo Will - avatar
0
I agree with Anis. I learned R because my grad program used it. Go with Python of starting from scratch, but don't have a panic attack if you went with R instead.
21st Feb 2017, 4:54 PM
Alan Ward
Alan Ward - avatar
0
It depends on your mentor really... some would recommend R before python vice-versa. I learnt R and now learning python, it makes learning python easier for me. Learning R could be sufficient but due to marketability its better u learn both. Python is for today but R capabilities still remains a future resource.
22nd Apr 2017, 12:18 PM
Bayowa D Abiodun
Bayowa D Abiodun - avatar
0
thanks for the useful feedback guys!
24th Apr 2017, 12:38 AM
Moritz-Ivo Will
Moritz-Ivo Will - avatar