• witty_username@feddit.nl
    link
    fedilink
    English
    arrow-up
    6
    ·
    16 hours ago

    Come to think of it, why are arrays in R called vectors?
    And don’t tell me it’s because thats what they’re called in S

    • jacksilver@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      I assume because it all does tie back to math terms. There is a lot of computer science in which arrays/lists are used for vector arithmetic (graphics, ML, generic math). I suspect only later in the field did arrays mutate into generic lists that you see in R and Python.