R programming tutorial: R and Python differences

Published: 08 June 2024
on channel: rdatacode
70
2

Python use = as assignment symbol, and R use arrow symbol as assignment symbol.
Like most of other famous programming languages, such as C++ and Java, Python has index starting from 0. However, R has index starting from 1.
Python use indentation to indicate the following statements belong to for example, for loop, function definition, etc. R use braces to enclose a block (for loop, function, etc).
In R, using arrow symbol to create a new distinct object with the same value as the old one. In Python, using = to create a new object, but both the new and old objects refer to a single object.


#rprogramming
#rstudio
#python
#difference
#rdatacode


On this page of the site you can watch the video online R programming tutorial: R and Python differences with a duration of hours minute second in good quality, which was uploaded by the user rdatacode 08 June 2024, share the link with friends and acquaintances, this video has already been watched 70 times on youtube and it was liked by 2 viewers. Enjoy your viewing!