fs_upload_one | R Documentation |
Upload file to an article
fs_upload_one(article_id, file, session = fs_get_auth())
article_id |
number |
file |
path to file to upload |
session |
the authentication credentials from |
Article must be a draft, i.e. created by fs_create
and not yet made public or private. Only articles of type "fileset" can have multiple files uploaded.
Carl Boettiger cboettig@gmail.com
fs_auth
## Not run: id <- fs_create("Title", "description", "figure") fs_upload(id, "file.png") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.