opal.symbol_save: Save a tibble

View source: R/opal.symbol.R

opal.symbol_saveR Documentation

Save a tibble

Description

Save a tibble identified by symbol as a file of format SAS, SPSS, Stata, CSV or TSV in the remote R session working directory.

Usage

opal.symbol_save(opal, symbol, destination)

Arguments

opal

Opal object.

symbol

Name of the R symbol representing a tibble.

destination

The path of the file in the R session workspace. Supported file extensions are: .sav (SPSS), .zsav (compressed SPSS), .sas7bdat (SAS), .xpt (SAS Transport), .dta (Stata), .csv (comma separated values), .tsv (tab separated values).

See Also

Other symbol functions: opal.rm(), opal.symbol_import(), opal.symbol_rm(), opal.symbols()

Examples

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.symbol_save(o, 'D', 'test.sav')
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.