Learn R Programming

neptune (version 0.2.3)

neptune_upload: 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

See Also

Useful links:

Examples

Run this code
# 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")
# }

Run the code above in your browser using DataLab