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

View source: R/dssAs.R

dssAsR Documentation

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

Description

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

Usage

dssAs(newtype, object, newobject = NULL, async = 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

datasources

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

Value

TRUE if succesful

Examples

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

sib-swiss/dsSwissKnifeClient documentation built on July 16, 2025, 6:25 p.m.