| opal.file_read | R Documentation | 
Read a file from the R session workspace into the Opal file system.
opal.file_read(opal, source, destination)
| opal | Opal object. | 
| source | Path to the file in the R session workspace (must exists). | 
| destination | Path to the destination file or folder. Any required sub-folders will be created. | 
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_rm(),
opal.file_unzip(),
opal.file_upload(),
opal.file_write()
## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# read into folder
opal.file_read(o,"DatabaseTest.sav", "/tmp")
# read and rename
opal.file_read(o,"test/DatabaseTest.sav", "/tmp/Test.sav")
# user home expansion
opal.file_read(o,"DatabaseTest.sav", "~/coucou/pwel.sav")
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.