opal.file_read: Read a file

Description Usage Arguments Examples

Description

Read a file from the R session workspace into the Opal file system

Usage

1
opal.file_read(opal, source, destination)

Arguments

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.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# 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")

## End(Not run)

datashield/opal documentation built on May 14, 2019, 7:53 p.m.