1 | fileTransfer(from = ".", to = ".", user, file)
|
from |
Source location (local path or remote FQDN and path) of file. |
to |
Target location (local path or remote FQDN and path) of file. |
file |
File name - a character string. |
File transfer is implemented by 'scp' with public key based authentication so it is limited only to Linux based DSVM at the moment.
1 2 3 4 5 | ## Not run:
# copy a file named "script.R" from local current working directory to
remote (e.g., IP address is 192.168.19.1) home directory.
fileTransfer(from=".", to="192.168.19.1:~", user="admin", file="script.R")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.