View source: R/item_rename_files.R
item_rename_files | R Documentation |
Renames files attached to an SB item.
item_rename_files(sb_id, names, new_names, ...)
sb_id |
An |
names |
List of names of files to rename |
new_names |
List of new file names to use |
... |
Additional parameters are passed on to |
## Not run:
names = c('file1.txt', 'file2.txt')
new_names = c('newname1.txt', 'newname2.txt')
item_rename_files('sbid', names, new_names)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.