Can someone explain what's a CONNECTION when reading a file in #rstats or in any programming language ❓
1
2
Replying to @JulienMouchnino
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
Replying to @eddelbuettel
What does pipe do?
Replying to @eddelbuettel
When one a file using read.csv(), R automatically opens and close the connection after the file is read, right?
1