# NOT RUN {
read_lines(file.path(R.home("doc"), "AUTHORS"), n_max = 10)
read_lines_raw(file.path(R.home("doc"), "AUTHORS"), n_max = 10)
tmp <- tempfile()
write_lines(rownames(mtcars), tmp)
read_lines(tmp)
read_file(tmp) # note trailing \n
write_lines(airquality$Ozone, tmp, na = "-1")
read_lines(tmp)
# }
Run the code above in your browser using DataLab