powered by
Unzip a zip archive file from the Opal file system.
opal.file_unzip(opal, source, destination, key = NULL)
The path of the extracted archive folder in the Opal file system.
Opal object.
Path to the file in the Opal file system (must exist and have the ".zip" file extension).
Path to the destination file or folder in the Opal file system.
Key to decrypt archive.
Other file functions: opal.file_cp(), opal.file_download(), opal.file_ls(), opal.file_mkdir_tmp(), opal.file_mkdir(), opal.file_mv(), opal.file_read(), opal.file_rm(), opal.file_upload(), opal.file_write(), opal.file()
opal.file_cp()
opal.file_download()
opal.file_ls()
opal.file_mkdir_tmp()
opal.file_mkdir()
opal.file_mv()
opal.file_read()
opal.file_rm()
opal.file_upload()
opal.file_write()
opal.file()
if (FALSE) { o <- opal.login('administrator','password', url='https://opal-demo.obiba.org') # unzip path <- opal.file_unzip(o, "/tmp/TESTING.zip", "/home/administrator") opal.logout(o) }
Run the code above in your browser using DataLab