Naming conventions

Each programming language has some sort of a guide as to how it want's to be written. Following code does the same thing, but one is R preffered and the other not.

Name things exclusively tab = read.csv() tab2 = read.csv()

Never use special characters

Special characters

Special characters are characters that have meaning in the R syntax. Therefore they should never be used in variable names or functions!

asignments = <-

comparing == < > %in%

logical & |

algebra

      • / % ^

no braces, brackets or parenthesis []{}()

Just keep to letters, numbers and underscore when naming Things