Share via


putLocalFile: Upload a file from the local machine to the remote R session.

Description

Uploads a file from the local machine and writes it to the working directory of the remote R session. This function is often used if a 'data' file needs to be accessed by a script running on the remote R session.

Usage

  putLocalFile(filename)

Arguments

filename

Name of the file to copy.

Details

Complete documentation: https://go.microsoft.com/fwlink/?linkid=836352

Value

TRUE if successful.

See Also

getRemoteFile

deleteRemoteFile

listRemoteFiles

Examples


 ## Not run:

putLocalFile("c:/data/test.csv")
putLocalFile("c:/data/test.png", as="raw")
## End(Not run)