Өзгерту

Бөлісу құралы:


RxDataSource-class: Class RxDataSource

Description

Base class for all Microsoft R Services Compute Engine data sources.

Objects from the Class

A virtual class: No objects may be created from it.

Generator

The generator for classes that extend RxDataSource is rxNewDataSource.

Methods

The following methods are defined for classes that extend RxDataSource:

names

signature(x = "RxDataSource"): ...

[rxOpen](rxOpen-methods.md)

signature(src = "RxDataSource"): ...

[rxClose](rxOpen-methods.md)

signature(src = "RxDataSource"): ...

[rxReadNext](rxOpen-methods.md)

signature(src = "RxDataSource"): ...

[rxWriteNext](rxOpen-methods.md)

signature(from = "data.frame", to = "RxDataSource", verbose = 0): ...

Author(s)

Microsoft Corporation Microsoft Technical Support

See Also

RxXdfData-class, RxXdfData, RxTextData, RxSasData, RxSpssData, RxOdbcData, RxTeradata, rxNewDataSource, rxOpen, rxReadNext, rxWriteNext.

Examples


 fileName <- file.path(rxGetOption("sampleDataDir"), "claims.xdf")
 ds <- rxNewDataSource("RxXdfData", fileName)
 is(ds, "RxXdfData")
 # [1] TRUE
 is(ds, "RxDataSource")
 # [1] TRUE