Learn R Programming

osfr (version 0.1.0)

upload_new: Upload a new file to the OSF.

Description

Upload a new file to the OSF.

Usage

upload_new(id, path, name = NULL)

Arguments

id

Parent OSF project id (osf.io/XXXX) to upload to.

path

Path to file on local machine to upload. Ensure file has proper extension named (i.e., extension sensitive, not like on Linux)

name

Name of the destination file on OSF (if NULL, basename(path) will be used).

Value

Waterbutler URL

See Also

upload_files, upload_revision