opal.file_rm | R Documentation |
Remove a file or a folder from the Opal file system.
opal.file_rm(opal, path)
opal |
Opal object. |
path |
Path to the file in the Opal file system. |
Other file functions:
opal.file()
,
opal.file_cp()
,
opal.file_download()
,
opal.file_ls()
,
opal.file_mkdir()
,
opal.file_mkdir_tmp()
,
opal.file_mv()
,
opal.file_read()
,
opal.file_unzip()
,
opal.file_upload()
,
opal.file_write()
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# remove a file
opal.file_rm(o, '/home/administrator/export/some-data.csv')
# remove recursively a folder
opal.file_rm(o, '/home/administrator/export')
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.