Description Usage Arguments Value Examples See Also
Upload files to the run record.
Note: Runs automatically capture files in the specified output
directory, which defaults to "./outputs". Use upload_files_to_run()
only when additional files need to be uploaded or an output directory
is not specified.
1 | upload_files_to_run(names, paths, timeout_seconds = NULL, run = NULL)
|
names |
A character vector of the names of the files to upload. |
paths |
A character vector of relative local paths to the files to be upload. |
timeout_seconds |
An int of the timeout in seconds for uploading the files. |
run |
The |
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ws <- load_workspace_from_config()
exp <- experiment(ws, name = 'myexperiment')
# Start an interactive logging run
run <- start_logging_run(exp)
# Upload files to the run record
filename1 <- "important_file_1"
filename2 <- "important_file_2"
upload_files_to_run(names = c(filename1, filename2),
paths = c("path/on/disk/file_1.txt", "other/path/on/disk/file_2.txt"))
# Download a file from the run record
download_file_from_run(filename1, "file_1.txt")
|
upload_folder_to_run()
download_file_from_run()
download_files_from_run()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.