dssAs: Coerce to new type (like R as... functions)

Description Usage Arguments Value Examples

View source: R/dssAs.R

Description

Coerce to new type (like R as... functions)

Usage

1
2
3
4
5
6
7
8
dssAs(
  newtype,
  object,
  newobject = NULL,
  async = TRUE,
  wait = TRUE,
  datasources = NULL
)

Arguments

newtype

a character, what type to convert to to (ex: "character" or "data.frame")

object

a character, name of the object to convert

newobject

a character, optional, name of the newly created object. If missing the old object will be overwritten.

async

a logical, see datashield.aggregate

wait

a logical, see datashield.aggregate

datasources

a list of opal objects obtained after logging into the opal servers (see datashield.login)

Value

TRUE if succesful

Examples

1
dssAs('data.frame', 'some_matrix_object', 'my_new_df',  datsources = opals)

IulianD/dsSwissKnifeClient documentation built on June 23, 2020, 4:38 p.m.