read.txt | R Documentation |
Read File as Text
read.txt(filename, folder = NA)
filename |
File path and name for the file to be read in. |
folder |
Folder path to look for the file in. |
Character variable containing the text in the file.
# write a files.
path = tempfile()
cat( "some text", file = path )
# read the file.
read.txt( path )
# cleanum.
file.remove( path )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.