opal.file_mkdir {opalr} | R Documentation |
Make a folder
Description
Make a folder in the Opal file system. Use the parents parameter to ignore if it already exist and to create parent folders.
Usage
opal.file_mkdir(opal, path, parents = FALSE)
Arguments
opal |
Opal object. |
path |
Path to the new folder in the Opal file system. |
parents |
No error if existing, make parent directories as needed. Default is FALSE. |
See Also
Other file functions:
opal.file_cp()
,
opal.file_download()
,
opal.file_ls()
,
opal.file_mkdir_tmp()
,
opal.file_mv()
,
opal.file_read()
,
opal.file_rm()
,
opal.file_unzip()
,
opal.file_upload()
,
opal.file_write()
,
opal.file()
Examples
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# make a folder
opal.file_mkdir(o, '/home/administrator/test', parents = TRUE)
opal.logout(o)
## End(Not run)
[Package opalr version 3.4.1 Index]