Is knowing Python necessary for learning R ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Is knowing Python necessary for learning R ?

30th May 2020, 1:16 AM
Philip Okutu
Philip Okutu - avatar
7 Answers
+ 5
According to the site https://www.reddit.com/r/datascience/comments/7vbmz9/is_it_worth_learning_r_after_learning_python/ It was stated that: "I get asked this question a lot at work. My response after having worked in both languages a lot is that you don't learn R like a normal language. You learn advanced statistics first, then R feels natural. What I mean is that the normal constructs from Python don't map to R. R from a computer science language perspective is pretty terrible, you can't write good production code in it. But it's wonderful from an applied math perspective. You can do fairly complex statistical data analysis in just a few lines and see formatted output meant for human eyes with little effort. If you like stats, pick up one of the books like "learning statistics with R" and work through it from a math first perspective as opposed to an algorithm first perspective like you would with Python or other production languages. Start with formulating and testing null hypothesis and figuring out frequentist statistics and t tests, then move on to Bayesian stats, linear regression, qq plots, measures of correlation, autoencoders, there is tons of awesome in there that's useful and fun learning. If none of this sounds interesting, don't bother with R." I chose this answer because in my own analysis it was stated that Python is not directly related to R but they are related in terms of mathematics and statistics. So for my suggestion if statistics is not meant for your aim to learn coding, then as the statement says, "don't bother with R". Thanks for AZTECCO for making me more understand in answering in your own opinions. Hope that I can apply this in the future.
30th May 2020, 2:30 AM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
+ 10
James Clark I. Vinarao if this is not your own opinion and experience, then it would be more prudent to quote your specific source (url). "from a site" does not qualify as proper attribution.
30th May 2020, 5:50 AM
Tibor Santa
Tibor Santa - avatar
+ 7
James Clark I. Vinarao everyone is free to share their opinions, and share stuff found online. However, the internet is full of bias and inaccuracy, and if you already quote or copy someone else's point of view, it is always best to indicate the exact source. Even though in this particular case I agree with the opinion you posted, but that is not the point. It makes you appear more credible and less like a poser who pretends to be smart. If you ever start pursuing higher education and you'll have to write papers about any topic, you'll learn the importance of indicating your sources. We do this exactly because of respect to the original authors freedom of speech. Lecture over, I won't pollute this topic any more with my rambling.
30th May 2020, 4:14 PM
Tibor Santa
Tibor Santa - avatar
+ 5
Nah, python and r are different... They both are different languages (just like Java and python) But if you wanna be data scientist... Then you need python (or R) for it... *it's recommended languages*
30th May 2020, 1:24 AM
KingDaniel2004
KingDaniel2004 - avatar
+ 5
Thanks you
30th May 2020, 2:38 AM
Philip Okutu
Philip Okutu - avatar
+ 3
No, not at all necessary
30th May 2020, 4:24 AM
Namit Jain
Namit Jain - avatar
+ 3
James Clark I. Vinarao i agree with Tibor Santa .. your answer is very interesting and I was about to upvote. I think you should edit your answer with the link, I also suggest to add your personal opinion , something like " I shared this because... " You'll get my upvote for sure then
30th May 2020, 7:02 PM
AZTECCO
AZTECCO - avatar