Can someone explain what's a CONNECTION when reading a file in #rstats or in any programming language ❓
1
2
An _abstraction_ that unfies access to file, or network, system command, or ... You think about _having a connection_, then read data (txt, csv, ...) from it. How to use a particular connection varies.
> con <- pipe("ls -1 /etc/R")
> etcfile <- readLines(con)
> close(con)
Sep 14, 2022 · 1:58 PM UTC
2
2

