Comparison between R and Python Programming Language

 




1) Python : It is used for developing all type of application like windows application, web applications, machine learning and so on.

   R : It is used for statical computing or analysis, graphical representation and reporting.

2) Both are open source and freeware.

3) Both are platform Independent.

4) Both are embedded.

5) Both are interpreted language.

6) Both are dynamically typed language

7) Python was developed by Guido van Rossum(Netherland)

   R was developed by Ross Ihaka and Gentleman(New Zealand Auckland).


A small program in both the language as below :

Python

a = 5

b = 6

c = a+b

print("Sum of a and b :", c)


R

a <- 5

b <- 6

c <- a+b

print(paste("Sum of a and b :", c))





Comments