When I want to load a file into R, what would be a way to do so programmatically (or semi programmatically) instead of just manually copy paste the path and switch \
to /
so R could read it (because \
is an escape character in R)
One method mentioned by @Roland is using scan
list.files(scan(file=file(description = "clipboard"), what = "character", allowEscapes = FALSE))
Which will need modifications if the path contains a space like
"C:\Users\David Arenburg\"