url.show | R Documentation |
Extension of file.show
to display text files from a remote
server.
url.show(url, title = url, file = tempfile(), delete.file = TRUE, method, ...)
url |
The URL to read from. |
title |
Title for the browser. |
file |
File to copy to. |
delete.file |
Delete the file afterwards? |
method |
File transfer method: see |
... |
Arguments to pass to |
Since this is for text files, it will convert to CRLF line endings on Windows.
url
, file.show
, download.file
## Not run: url.show("https://www.stats.ox.ac.uk/pub/datasets/csb/ch3a.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.