Is knowing Python necessary for learning R ? | SoloLearn: Learn to code for FREE!


Is knowing Python necessary for learning R ?

5/30/2020 1:16:32 AM

Philip A. Okutu

7 Answers

New Answer


According to the site 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.


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.


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.


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*


Thanks you


No, not at all necessary


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