neptune_upload: Uploads provided file under specified field path

View source: R/neptune_upload.R

neptune_uploadR Documentation

Uploads provided file under specified field path

Description

Uploads provided file under specified field path

Usage

neptune_upload(x, value, wait=FALSE, ...)

Arguments

x

Field

value

string - Path to the file to be uploaded or File value object eg. object returned by neptune_file_as_html call

wait

logical - If TRUE the client will wait to send all tracked metadata to the server before making the assignment. This makes the call synchronous.

...

Other arguments passed on to the ggsave function in case of uploading a ggplot2 object.

Value

None

Author(s)

Authors:

See Also

Useful links:

Examples

## Not run: 
# We are using api token for an anonymous user neptuner. For your projects use your private token.
run <- neptune_init(api_token = 'ANONYMOUS',
                    project = "common-r/quickstarts")
neptune_upload(run['model'], "model.RData")

## End(Not run)

neptune documentation built on April 13, 2022, 5:14 p.m.