powered by
Read File as Text
read.txt(filename, folder = NA)
Character variable containing the text in the file.
File path and name for the file to be read in.
Folder path to look for the file in.
# write a files. path = tempfile() cat( "some text", file = path ) # read the file. read.txt( path ) # cleanum. file.remove( path )
Run the code above in your browser using DataLab