head-CASTable-method: Return the First Part of a CAS Table

head,CASTable-methodR Documentation

Return the First Part of a CAS Table

Description

Returns the first part of an in-memory table that is referenced by a CASTable object.

Usage

## S4 method for signature 'CASTable'
head(x, n = 6L)

Arguments

x

A CASTable object.

n

An optional positive integer that specifies the number of rows to return.

Value

A casDataFrame object with the first n rows.

Note

The head function is not deterministic between reloads of data or if nodes or added or removed from a distributed server.

Examples

## Not run: 
head(ct1)
head(ct[1:4], 10)

## End(Not run)

sassoftware/R-swat documentation built on Feb. 26, 2024, 8 a.m.