Search notes:

R function: file

f <- file("test.out")
writeLines(c("Line one", "Line two", "Line three"), f)
close(f)

file.show("test.out")
# Line one
# Line two
# Line three
Github repository about-r, path: /functions/file.R

See also

file.edit
file.exists
Index to (some) R functions

Index