R - basics

  1. Background
  2. Alternatives
  3. Install R
  4. Install R Studio
  5. Launch interactive R, get help, and quit
  6. Running R on the command line using Rscript
  7. Comments
  8. R and simple math operations
  9. R variables
  10. R assignment (left-assignment, right-assignment)
  11. Variable types (numeric, character, logical, function)
  12. Variable types are deducted
  13. paste (join) strings and numbers together
  14. Operator preference order and parentheses
  15. Operators comparing numbers
  16. Operators comparing strings (characters)
  17. Convert string (character) to numeric
  18. Boolean (logical) operations
  19. Concatenate strings
  20. Convert between types using as.
  21. Printing with cat