opalr (version 1.4.1)

opal.file_mkdir: Make a folder

Description

Make a folder in the Opal file system. Does not create ancestors, i.e. the call will fail if the parent folder does not exist.

Usage

opal.file_mkdir(opal, path)

Arguments

opal

Opal object.

path

Path to the new folder in the Opal file system.

See Also

Other file functions: opal.file_cp(), opal.file_download(), opal.file_ls(), opal.file_mv(), opal.file_read(), opal.file_rm(), opal.file_upload(), opal.file_write(), opal.file()

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password','https://opal-demo.obiba.org')
# make a folder
opal.file_mkdir(o, '/home/administrator/test')
opal.logout(o)
# }

Run the code above in your browser using DataLab