Make a folder in the Opal file system. Use the parents parameter to ignore if it already exist and to create parent folders.

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.

Examples

if (FALSE) {
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)
}